| 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 12 matching lines...) Expand all Loading... |
| 23 class PrefService; | 23 class PrefService; |
| 24 | 24 |
| 25 namespace content { | 25 namespace content { |
| 26 class ResourceContext; | 26 class ResourceContext; |
| 27 class SSLHostStateDelegate; | 27 class SSLHostStateDelegate; |
| 28 class WebContents; | 28 class WebContents; |
| 29 } | 29 } |
| 30 | 30 |
| 31 namespace data_reduction_proxy { | 31 namespace data_reduction_proxy { |
| 32 class DataReductionProxyConfigurator; | 32 class DataReductionProxyConfigurator; |
| 33 class DataReductionProxyEventStore; | 33 class DataReductionProxyIOData; |
| 34 class DataReductionProxySettings; | 34 class DataReductionProxySettings; |
| 35 class DataReductionProxyStatisticsPrefs; | |
| 36 } | 35 } |
| 37 | 36 |
| 38 namespace net { | 37 namespace net { |
| 39 class CookieStore; | 38 class CookieStore; |
| 40 } | 39 } |
| 41 | 40 |
| 42 namespace visitedlink { | 41 namespace visitedlink { |
| 43 class VisitedLinkMaster; | 42 class VisitedLinkMaster; |
| 44 } | 43 } |
| 45 | 44 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 content::ProtocolHandlerMap* protocol_handlers, | 83 content::ProtocolHandlerMap* protocol_handlers, |
| 85 content::URLRequestInterceptorScopedVector request_interceptors); | 84 content::URLRequestInterceptorScopedVector request_interceptors); |
| 86 | 85 |
| 87 AwQuotaManagerBridge* GetQuotaManagerBridge(); | 86 AwQuotaManagerBridge* GetQuotaManagerBridge(); |
| 88 | 87 |
| 89 AwFormDatabaseService* GetFormDatabaseService(); | 88 AwFormDatabaseService* GetFormDatabaseService(); |
| 90 | 89 |
| 91 data_reduction_proxy::DataReductionProxySettings* | 90 data_reduction_proxy::DataReductionProxySettings* |
| 92 GetDataReductionProxySettings(); | 91 GetDataReductionProxySettings(); |
| 93 | 92 |
| 94 data_reduction_proxy::DataReductionProxyEventStore* | 93 data_reduction_proxy::DataReductionProxyIOData* |
| 95 GetDataReductionProxyEventStore(); | 94 GetDataReductionProxyIOData(); |
| 96 | 95 |
| 97 data_reduction_proxy::DataReductionProxyConfigurator* | 96 data_reduction_proxy::DataReductionProxyConfigurator* |
| 98 GetDataReductionProxyConfigurator(); | 97 GetDataReductionProxyConfigurator(); |
| 99 | 98 |
| 100 AwURLRequestContextGetter* GetAwURLRequestContext(); | 99 AwURLRequestContextGetter* GetAwURLRequestContext(); |
| 101 | 100 |
| 102 void CreateUserPrefServiceIfNecessary(); | 101 void CreateUserPrefServiceIfNecessary(); |
| 103 | 102 |
| 104 // content::BrowserContext implementation. | 103 // content::BrowserContext implementation. |
| 105 scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( | 104 scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 scoped_refptr<AwQuotaManagerBridge> quota_manager_bridge_; | 143 scoped_refptr<AwQuotaManagerBridge> quota_manager_bridge_; |
| 145 scoped_ptr<AwFormDatabaseService> form_database_service_; | 144 scoped_ptr<AwFormDatabaseService> form_database_service_; |
| 146 | 145 |
| 147 AwDownloadManagerDelegate download_manager_delegate_; | 146 AwDownloadManagerDelegate download_manager_delegate_; |
| 148 | 147 |
| 149 scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_; | 148 scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_; |
| 150 scoped_ptr<content::ResourceContext> resource_context_; | 149 scoped_ptr<content::ResourceContext> resource_context_; |
| 151 | 150 |
| 152 scoped_ptr<PrefService> user_pref_service_; | 151 scoped_ptr<PrefService> user_pref_service_; |
| 153 | 152 |
| 154 scoped_ptr<data_reduction_proxy::DataReductionProxyConfigurator> | |
| 155 data_reduction_proxy_configurator_; | |
| 156 scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs> | |
| 157 data_reduction_proxy_statistics_; | |
| 158 scoped_ptr<data_reduction_proxy::DataReductionProxySettings> | 153 scoped_ptr<data_reduction_proxy::DataReductionProxySettings> |
| 159 data_reduction_proxy_settings_; | 154 data_reduction_proxy_settings_; |
| 160 scoped_ptr<data_reduction_proxy::DataReductionProxyEventStore> | |
| 161 data_reduction_proxy_event_store_; | |
| 162 scoped_ptr<AwSSLHostStateDelegate> ssl_host_state_delegate_; | 155 scoped_ptr<AwSSLHostStateDelegate> ssl_host_state_delegate_; |
| 156 scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> |
| 157 data_reduction_proxy_io_data_; |
| 163 | 158 |
| 164 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 159 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
| 165 }; | 160 }; |
| 166 | 161 |
| 167 } // namespace android_webview | 162 } // namespace android_webview |
| 168 | 163 |
| 169 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 164 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| OLD | NEW |