Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Side by Side Diff: content/shell/shell_resource_context.cc

Issue 9425026: Remove getters for HTML5 related objects from the ResourceContext interface. Half of them weren't u… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/shell/shell_resource_context.h ('k') | content/test/test_browser_context.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/shell/shell_resource_context.h" 5 #include "content/shell/shell_resource_context.h"
6
7 #include "content/browser/chrome_blob_storage_context.h"
8 #include "content/shell/shell_url_request_context_getter.h" 6 #include "content/shell/shell_url_request_context_getter.h"
9 7
10 namespace content { 8 namespace content {
11 9
12 ShellResourceContext::ShellResourceContext( 10 ShellResourceContext::ShellResourceContext(
13 ShellURLRequestContextGetter* getter, 11 ShellURLRequestContextGetter* getter)
14 ChromeBlobStorageContext* blob_storage_context) 12 : getter_(getter) {
15 : getter_(getter),
16 blob_storage_context_(blob_storage_context) {
17 } 13 }
18 14
19 ShellResourceContext::~ShellResourceContext() { 15 ShellResourceContext::~ShellResourceContext() {
20 } 16 }
21 17
22 net::HostResolver* ShellResourceContext::GetHostResolver() { 18 net::HostResolver* ShellResourceContext::GetHostResolver() {
23 return getter_->host_resolver(); 19 return getter_->host_resolver();
24 } 20 }
25 21
26 net::URLRequestContext* ShellResourceContext::GetRequestContext() { 22 net::URLRequestContext* ShellResourceContext::GetRequestContext() {
27 return getter_->GetURLRequestContext(); 23 return getter_->GetURLRequestContext();
28 } 24 }
29 25
30 ChromeAppCacheService* ShellResourceContext::GetAppCacheService() {
31 return NULL;
32 }
33
34 webkit_database::DatabaseTracker* ShellResourceContext::GetDatabaseTracker() {
35 return NULL;
36 }
37
38 fileapi::FileSystemContext* ShellResourceContext::GetFileSystemContext() {
39 return NULL;
40 }
41
42 ChromeBlobStorageContext* ShellResourceContext::GetBlobStorageContext() {
43 return blob_storage_context_;
44 }
45
46 quota::QuotaManager* ShellResourceContext::GetQuotaManager() {
47 return NULL;
48 }
49
50 HostZoomMap* ShellResourceContext::GetHostZoomMap() { 26 HostZoomMap* ShellResourceContext::GetHostZoomMap() {
51 return NULL; 27 return NULL;
52 } 28 }
53 29
54 MediaObserver* ShellResourceContext::GetMediaObserver() { 30 MediaObserver* ShellResourceContext::GetMediaObserver() {
55 return NULL; 31 return NULL;
56 } 32 }
57 33
58 media_stream::MediaStreamManager* 34 media_stream::MediaStreamManager*
59 ShellResourceContext::GetMediaStreamManager() { 35 ShellResourceContext::GetMediaStreamManager() {
60 return NULL; 36 return NULL;
61 } 37 }
62 38
63 AudioManager* ShellResourceContext::GetAudioManager() { 39 AudioManager* ShellResourceContext::GetAudioManager() {
64 return NULL; 40 return NULL;
65 } 41 }
66 42
67 WebKitContext* ShellResourceContext::GetWebKitContext() {
68 return NULL;
69 }
70
71 } // namespace content 43 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_resource_context.h ('k') | content/test/test_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698