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