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

Unified Diff: android_webview/browser/net/aw_url_request_context_getter.h

Issue 412143009: Moved data reduction proxy initialization logic to ProfileImplIOData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from willchan and sgurun Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/browser/net/aw_url_request_context_getter.h
diff --git a/android_webview/browser/net/aw_url_request_context_getter.h b/android_webview/browser/net/aw_url_request_context_getter.h
index 6e4f81e7327d159fd6fa78c27384c58890521bfc..712893ac8f8647a65048991b524b0006b32ab9e7 100644
--- a/android_webview/browser/net/aw_url_request_context_getter.h
+++ b/android_webview/browser/net/aw_url_request_context_getter.h
@@ -24,19 +24,21 @@ class URLRequestJobFactory;
}
namespace data_reduction_proxy {
+class DataReductionProxyAuthRequestHandler;
class DataReductionProxyConfigService;
}
-using data_reduction_proxy::DataReductionProxyConfigService;
-
namespace android_webview {
class AwNetworkDelegate;
class AwURLRequestContextGetter : public net::URLRequestContextGetter {
public:
- AwURLRequestContextGetter(const base::FilePath& partition_path,
- net::CookieStore* cookie_store);
+ AwURLRequestContextGetter(
+ const base::FilePath& partition_path,
+ net::CookieStore* cookie_store,
+ scoped_ptr<data_reduction_proxy::DataReductionProxyConfigService>
sgurun-gerrit only 2014/08/05 01:26:35 use using to reduce clunkiness in names while read
bengr 2014/08/05 02:35:07 People are split on whether "using" is helpful, pa
willchan no longer on Chromium 2014/08/05 03:03:52 http://google-styleguide.googlecode.com/svn/trunk/
+ config_service);
void InitializeOnNetworkThread();
@@ -45,7 +47,8 @@ class AwURLRequestContextGetter : public net::URLRequestContextGetter {
virtual scoped_refptr<base::SingleThreadTaskRunner>
GetNetworkTaskRunner() const OVERRIDE;
- DataReductionProxyConfigService* proxy_config_service();
+ data_reduction_proxy::DataReductionProxyAuthRequestHandler*
+ GetDataReductionProxyAuthRequestHandler() const;
private:
friend class AwBrowserContext;
@@ -66,7 +69,10 @@ class AwURLRequestContextGetter : public net::URLRequestContextGetter {
const base::FilePath partition_path_;
scoped_refptr<net::CookieStore> cookie_store_;
scoped_ptr<net::URLRequestContext> url_request_context_;
- scoped_ptr<DataReductionProxyConfigService> proxy_config_service_;
+ scoped_ptr<data_reduction_proxy::DataReductionProxyConfigService>
+ data_reduction_proxy_config_service_;
+ scoped_ptr<data_reduction_proxy::DataReductionProxyAuthRequestHandler>
+ data_reduction_proxy_auth_request_handler_;
scoped_ptr<net::URLRequestJobFactory> job_factory_;
scoped_ptr<net::HttpTransactionFactory> main_http_factory_;
scoped_ptr<net::ChannelIDService> channel_id_service_;

Powered by Google App Engine
This is Rietveld 408576698