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

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

Issue 1878153002: Revert of Simplify BrowserContext by removing redundant methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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;
105 net::URLRequestContextGetter* GetMediaRequestContext() override; 106 net::URLRequestContextGetter* GetMediaRequestContext() override;
106 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 107 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
107 int renderer_child_id) override; 108 int renderer_child_id) override;
108 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( 109 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition(
109 const base::FilePath& partition_path, 110 const base::FilePath& partition_path,
110 bool in_memory) override; 111 bool in_memory) override;
111 content::ResourceContext* GetResourceContext() override; 112 content::ResourceContext* GetResourceContext() override;
112 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; 113 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override;
113 content::BrowserPluginGuestManager* GetGuestManager() override; 114 content::BrowserPluginGuestManager* GetGuestManager() override;
114 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; 115 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 std::unique_ptr<data_reduction_proxy::DataReductionProxyService> 164 std::unique_ptr<data_reduction_proxy::DataReductionProxyService>
164 data_reduction_proxy_service_; 165 data_reduction_proxy_service_;
165 std::unique_ptr<content::PermissionManager> permission_manager_; 166 std::unique_ptr<content::PermissionManager> permission_manager_;
166 167
167 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); 168 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
168 }; 169 };
169 170
170 } // namespace android_webview 171 } // namespace android_webview
171 172
172 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 173 #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