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

Side by Side Diff: android_webview/browser/aw_browser_context.h

Issue 1864583006: Simplify BrowserContext by removing redundant methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 8 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
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('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 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 AwURLRequestContextGetter* GetAwURLRequestContext(); 95 AwURLRequestContextGetter* GetAwURLRequestContext();
96 AwMessagePortService* GetMessagePortService(); 96 AwMessagePortService* GetMessagePortService();
97 97
98 policy::URLBlacklistManager* GetURLBlacklistManager(); 98 policy::URLBlacklistManager* GetURLBlacklistManager();
99 99
100 // content::BrowserContext implementation. 100 // content::BrowserContext implementation.
101 std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( 101 std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate(
102 const base::FilePath& partition_path) override; 102 const base::FilePath& partition_path) override;
103 base::FilePath GetPath() const override; 103 base::FilePath GetPath() const override;
104 bool IsOffTheRecord() const override; 104 bool IsOffTheRecord() const override;
105 net::URLRequestContextGetter* GetRequestContext() override;
106 net::URLRequestContextGetter* GetMediaRequestContext() override; 105 net::URLRequestContextGetter* GetMediaRequestContext() override;
107 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 106 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
108 int renderer_child_id) override; 107 int renderer_child_id) override;
109 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( 108 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition(
110 const base::FilePath& partition_path, 109 const base::FilePath& partition_path,
111 bool in_memory) override; 110 bool in_memory) override;
112 content::ResourceContext* GetResourceContext() override; 111 content::ResourceContext* GetResourceContext() override;
113 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; 112 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override;
114 content::BrowserPluginGuestManager* GetGuestManager() override; 113 content::BrowserPluginGuestManager* GetGuestManager() override;
115 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; 114 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 std::unique_ptr<data_reduction_proxy::DataReductionProxyService> 163 std::unique_ptr<data_reduction_proxy::DataReductionProxyService>
165 data_reduction_proxy_service_; 164 data_reduction_proxy_service_;
166 std::unique_ptr<content::PermissionManager> permission_manager_; 165 std::unique_ptr<content::PermissionManager> permission_manager_;
167 166
168 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); 167 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
169 }; 168 };
170 169
171 } // namespace android_webview 170 } // namespace android_webview
172 171
173 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 172 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698