forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell_resource_context.cc
71 lines (53 loc) · 1.69 KB
/
shell_resource_context.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/shell/shell_resource_context.h"
#include "content/browser/chrome_blob_storage_context.h"
#include "content/shell/shell_url_request_context_getter.h"
namespace content {
ShellResourceContext::ShellResourceContext(
ShellURLRequestContextGetter* getter,
ChromeBlobStorageContext* blob_storage_context)
: getter_(getter),
blob_storage_context_(blob_storage_context) {
}
ShellResourceContext::~ShellResourceContext() {
}
net::HostResolver* ShellResourceContext::GetHostResolver() {
return getter_->host_resolver();
}
net::URLRequestContext* ShellResourceContext::GetRequestContext() {
return getter_->GetURLRequestContext();
}
ChromeAppCacheService* ShellResourceContext::GetAppCacheService() {
return NULL;
}
webkit_database::DatabaseTracker* ShellResourceContext::GetDatabaseTracker() {
return NULL;
}
fileapi::FileSystemContext* ShellResourceContext::GetFileSystemContext() {
return NULL;
}
ChromeBlobStorageContext* ShellResourceContext::GetBlobStorageContext() {
return blob_storage_context_;
}
quota::QuotaManager* ShellResourceContext::GetQuotaManager() {
return NULL;
}
HostZoomMap* ShellResourceContext::GetHostZoomMap() {
return NULL;
}
MediaObserver* ShellResourceContext::GetMediaObserver() {
return NULL;
}
media_stream::MediaStreamManager*
ShellResourceContext::GetMediaStreamManager() {
return NULL;
}
AudioManager* ShellResourceContext::GetAudioManager() {
return NULL;
}
WebKitContext* ShellResourceContext::GetWebKitContext() {
return NULL;
}
} // namespace content