OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |