| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "android_webview/browser/aw_download_manager_delegate.h" | 10 #include "android_webview/browser/aw_download_manager_delegate.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 namespace policy { | 44 namespace policy { |
| 45 class URLBlacklistManager; | 45 class URLBlacklistManager; |
| 46 class BrowserPolicyConnectorBase; | 46 class BrowserPolicyConnectorBase; |
| 47 } | 47 } |
| 48 | 48 |
| 49 namespace visitedlink { | 49 namespace visitedlink { |
| 50 class VisitedLinkMaster; | 50 class VisitedLinkMaster; |
| 51 } | 51 } |
| 52 | 52 |
| 53 namespace web_restriction { |
| 54 class WebRestrictionProvider; |
| 55 } |
| 56 |
| 53 namespace android_webview { | 57 namespace android_webview { |
| 54 | 58 |
| 55 class AwFormDatabaseService; | 59 class AwFormDatabaseService; |
| 56 class AwQuotaManagerBridge; | 60 class AwQuotaManagerBridge; |
| 57 class AwURLRequestContextGetter; | 61 class AwURLRequestContextGetter; |
| 58 class JniDependencyFactory; | 62 class JniDependencyFactory; |
| 59 | 63 |
| 60 class AwBrowserContext : public content::BrowserContext, | 64 class AwBrowserContext : public content::BrowserContext, |
| 61 public visitedlink::VisitedLinkDelegate { | 65 public visitedlink::VisitedLinkDelegate { |
| 62 public: | 66 public: |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 104 |
| 101 data_reduction_proxy::DataReductionProxyIOData* | 105 data_reduction_proxy::DataReductionProxyIOData* |
| 102 GetDataReductionProxyIOData(); | 106 GetDataReductionProxyIOData(); |
| 103 | 107 |
| 104 AwURLRequestContextGetter* GetAwURLRequestContext(); | 108 AwURLRequestContextGetter* GetAwURLRequestContext(); |
| 105 | 109 |
| 106 AwMessagePortService* GetMessagePortService(); | 110 AwMessagePortService* GetMessagePortService(); |
| 107 | 111 |
| 108 policy::URLBlacklistManager* GetURLBlacklistManager(); | 112 policy::URLBlacklistManager* GetURLBlacklistManager(); |
| 109 | 113 |
| 114 web_restriction::WebRestrictionProvider* GetWebRestrictionProvider(); |
| 115 |
| 110 // content::BrowserContext implementation. | 116 // content::BrowserContext implementation. |
| 111 scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( | 117 scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( |
| 112 const base::FilePath& partition_path) override; | 118 const base::FilePath& partition_path) override; |
| 113 base::FilePath GetPath() const override; | 119 base::FilePath GetPath() const override; |
| 114 bool IsOffTheRecord() const override; | 120 bool IsOffTheRecord() const override; |
| 115 net::URLRequestContextGetter* GetRequestContext() override; | 121 net::URLRequestContextGetter* GetRequestContext() override; |
| 116 net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 122 net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 117 int renderer_child_id) override; | 123 int renderer_child_id) override; |
| 118 net::URLRequestContextGetter* GetMediaRequestContext() override; | 124 net::URLRequestContextGetter* GetMediaRequestContext() override; |
| 119 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 125 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 | 169 |
| 164 scoped_ptr<data_reduction_proxy::DataReductionProxySettings> | 170 scoped_ptr<data_reduction_proxy::DataReductionProxySettings> |
| 165 data_reduction_proxy_settings_; | 171 data_reduction_proxy_settings_; |
| 166 scoped_ptr<AwSSLHostStateDelegate> ssl_host_state_delegate_; | 172 scoped_ptr<AwSSLHostStateDelegate> ssl_host_state_delegate_; |
| 167 scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> | 173 scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> |
| 168 data_reduction_proxy_io_data_; | 174 data_reduction_proxy_io_data_; |
| 169 scoped_ptr<data_reduction_proxy::DataReductionProxyService> | 175 scoped_ptr<data_reduction_proxy::DataReductionProxyService> |
| 170 data_reduction_proxy_service_; | 176 data_reduction_proxy_service_; |
| 171 scoped_ptr<content::PermissionManager> permission_manager_; | 177 scoped_ptr<content::PermissionManager> permission_manager_; |
| 172 | 178 |
| 179 scoped_ptr<web_restriction::WebRestrictionProvider> web_restriction_provider_; |
| 180 |
| 173 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 181 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
| 174 }; | 182 }; |
| 175 | 183 |
| 176 } // namespace android_webview | 184 } // namespace android_webview |
| 177 | 185 |
| 178 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 186 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| OLD | NEW |