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

Unified Diff: android_webview/browser/aw_browser_context.cc

Issue 557733002: [Android WebView] Use NetLog for providing full request headers to DevTools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « android_webview/browser/aw_browser_context.h ('k') | android_webview/browser/aw_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_browser_context.cc
diff --git a/android_webview/browser/aw_browser_context.cc b/android_webview/browser/aw_browser_context.cc
index 62482cab9745a8d9873f186da752e44c929099e7..cfc728e0a5fe4c33c134723de2681596f6b1db2d 100644
--- a/android_webview/browser/aw_browser_context.cc
+++ b/android_webview/browser/aw_browser_context.cc
@@ -51,9 +51,11 @@ bool AwBrowserContext::data_reduction_proxy_enabled_ = false;
AwBrowserContext::AwBrowserContext(
const FilePath path,
- JniDependencyFactory* native_factory)
+ JniDependencyFactory* native_factory,
+ net::NetLog* net_log)
: context_storage_path_(path),
- native_factory_(native_factory) {
+ native_factory_(native_factory),
+ net_log_(net_log) {
DCHECK(!g_browser_context);
g_browser_context = this;
@@ -127,7 +129,8 @@ void AwBrowserContext::PreMainMessageLoopRun() {
url_request_context_getter_ =
new AwURLRequestContextGetter(GetPath(),
cookie_store_.get(),
- data_reduction_proxy_config_service.Pass());
+ data_reduction_proxy_config_service.Pass(),
+ net_log_);
visitedlink_master_.reset(
new visitedlink::VisitedLinkMaster(this, this, false));
« no previous file with comments | « android_webview/browser/aw_browser_context.h ('k') | android_webview/browser/aw_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698