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

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

Issue 893003002: Data Reduction Proxy class ownership updates and Settings cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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
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 15 matching lines...) Expand all
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 DataReductionProxySettings; 35 class DataReductionProxySettings;
36 class DataSaverService;
bengr 2015/02/17 18:10:24 I guess we can start making the name change, thoug
jeremyim 2015/02/19 21:03:44 Acknowledged.
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 }
45 46
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 scoped_ptr<AwFormDatabaseService> form_database_service_; 143 scoped_ptr<AwFormDatabaseService> form_database_service_;
146 scoped_ptr<AwMessagePortService> message_port_service_; 144 scoped_ptr<AwMessagePortService> message_port_service_;
147 145
148 AwDownloadManagerDelegate download_manager_delegate_; 146 AwDownloadManagerDelegate download_manager_delegate_;
149 147
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
153 scoped_ptr<AwSSLHostStateDelegate> ssl_host_state_delegate_;
bengr 2015/02/17 18:10:24 This probably shouldn't be in this CL.
jeremyim 2015/02/19 21:03:43 Done.
155 scoped_ptr<data_reduction_proxy::DataReductionProxySettings> 154 scoped_ptr<data_reduction_proxy::DataReductionProxySettings>
156 data_reduction_proxy_settings_; 155 data_reduction_proxy_settings_;
157 scoped_ptr<AwSSLHostStateDelegate> ssl_host_state_delegate_; 156 scoped_ptr<data_reduction_proxy::DataSaverService> data_saver_service_;
158 scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> 157 scoped_ptr<data_reduction_proxy::DataReductionProxyIOData>
159 data_reduction_proxy_io_data_; 158 data_reduction_proxy_io_data_;
160 159
161 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); 160 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
162 }; 161 };
163 162
164 } // namespace android_webview 163 } // namespace android_webview
165 164
166 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 165 #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') | android_webview/browser/aw_browser_context.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698