Index: android_webview/browser/net/aw_url_request_context_getter.cc |
diff --git a/android_webview/browser/net/aw_url_request_context_getter.cc b/android_webview/browser/net/aw_url_request_context_getter.cc |
index 6e39cd79cce587003a430172276bbcd81324d69c..4b71fdd970c4f7468fc41bbe3ecba5ac1b4f463d 100644 |
--- a/android_webview/browser/net/aw_url_request_context_getter.cc |
+++ b/android_webview/browser/net/aw_url_request_context_getter.cc |
@@ -171,11 +171,14 @@ scoped_ptr<net::URLRequestJobFactory> CreateJobFactory( |
} // namespace |
AwURLRequestContextGetter::AwURLRequestContextGetter( |
- const base::FilePath& partition_path, net::CookieStore* cookie_store, |
+ const base::FilePath& partition_path, |
+ net::CookieStore* cookie_store, |
scoped_ptr<data_reduction_proxy::DataReductionProxyConfigService> |
- config_service) |
+ config_service, |
+ net::NetLog* net_log) |
: partition_path_(partition_path), |
- cookie_store_(cookie_store) { |
+ cookie_store_(cookie_store), |
+ net_log_(net_log) { |
data_reduction_proxy_config_service_ = config_service.Pass(); |
// CreateSystemProxyConfigService for Android must be called on main thread. |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
@@ -205,6 +208,7 @@ void AwURLRequestContextGetter::InitializeURLRequestContext() { |
} |
builder.set_accept_language(net::HttpUtil::GenerateAcceptLanguageHeader( |
AwContentBrowserClient::GetAcceptLangsImpl())); |
+ builder.set_net_log(net_log_); |
ApplyCmdlineOverridesToURLRequestContextBuilder(&builder); |
url_request_context_.reset(builder.Build()); |