Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: android_webview/browser/aw_browser_context.h

Issue 778463002: Wrapped data reduction proxy initialization into its own class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@network-delegate
Patch Set: Updated test Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698