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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 namespace content { | 26 namespace content { |
27 class ResourceContext; | 27 class ResourceContext; |
28 class SSLHostStateDelegate; | 28 class SSLHostStateDelegate; |
29 class WebContents; | 29 class WebContents; |
30 } | 30 } |
31 | 31 |
32 namespace data_reduction_proxy { | 32 namespace data_reduction_proxy { |
33 class DataReductionProxyConfigurator; | 33 class DataReductionProxyConfigurator; |
34 class DataReductionProxyIOData; | 34 class DataReductionProxyIOData; |
| 35 class DataReductionProxyService; |
35 class DataReductionProxySettings; | 36 class DataReductionProxySettings; |
36 } | 37 } |
37 | 38 |
38 namespace net { | 39 namespace net { |
39 class CookieStore; | 40 class CookieStore; |
40 } | 41 } |
41 | 42 |
42 namespace visitedlink { | 43 namespace visitedlink { |
43 class VisitedLinkMaster; | 44 class VisitedLinkMaster; |
44 } | 45 } |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 AwQuotaManagerBridge* GetQuotaManagerBridge(); | 88 AwQuotaManagerBridge* GetQuotaManagerBridge(); |
88 | 89 |
89 AwFormDatabaseService* GetFormDatabaseService(); | 90 AwFormDatabaseService* GetFormDatabaseService(); |
90 | 91 |
91 data_reduction_proxy::DataReductionProxySettings* | 92 data_reduction_proxy::DataReductionProxySettings* |
92 GetDataReductionProxySettings(); | 93 GetDataReductionProxySettings(); |
93 | 94 |
94 data_reduction_proxy::DataReductionProxyIOData* | 95 data_reduction_proxy::DataReductionProxyIOData* |
95 GetDataReductionProxyIOData(); | 96 GetDataReductionProxyIOData(); |
96 | 97 |
97 data_reduction_proxy::DataReductionProxyConfigurator* | |
98 GetDataReductionProxyConfigurator(); | |
99 | |
100 AwURLRequestContextGetter* GetAwURLRequestContext(); | 98 AwURLRequestContextGetter* GetAwURLRequestContext(); |
101 | 99 |
102 void CreateUserPrefServiceIfNecessary(); | 100 void CreateUserPrefServiceIfNecessary(); |
103 | 101 |
104 AwMessagePortService* GetMessagePortService(); | 102 AwMessagePortService* GetMessagePortService(); |
105 | 103 |
106 // content::BrowserContext implementation. | 104 // content::BrowserContext implementation. |
107 scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( | 105 scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( |
108 const base::FilePath& partition_path) override; | 106 const base::FilePath& partition_path) override; |
109 base::FilePath GetPath() const override; | 107 base::FilePath GetPath() const override; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_; | 148 scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_; |
151 scoped_ptr<content::ResourceContext> resource_context_; | 149 scoped_ptr<content::ResourceContext> resource_context_; |
152 | 150 |
153 scoped_ptr<PrefService> user_pref_service_; | 151 scoped_ptr<PrefService> user_pref_service_; |
154 | 152 |
155 scoped_ptr<data_reduction_proxy::DataReductionProxySettings> | 153 scoped_ptr<data_reduction_proxy::DataReductionProxySettings> |
156 data_reduction_proxy_settings_; | 154 data_reduction_proxy_settings_; |
157 scoped_ptr<AwSSLHostStateDelegate> ssl_host_state_delegate_; | 155 scoped_ptr<AwSSLHostStateDelegate> ssl_host_state_delegate_; |
158 scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> | 156 scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> |
159 data_reduction_proxy_io_data_; | 157 data_reduction_proxy_io_data_; |
| 158 scoped_ptr<data_reduction_proxy::DataReductionProxyService> |
| 159 data_reduction_proxy_service_; |
160 | 160 |
161 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 161 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
162 }; | 162 }; |
163 | 163 |
164 } // namespace android_webview | 164 } // namespace android_webview |
165 | 165 |
166 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 166 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
OLD | NEW |