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

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

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: Moved NetLog ownership to AwURLRequestContextGetter 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
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 1ec4123630a8bb6d7e08ef2a90cd5dcbdaf6e279..00e4fdfe610a0bf4a909db313842ce841c51be74 100644
--- a/android_webview/browser/net/aw_url_request_context_getter.h
+++ b/android_webview/browser/net/aw_url_request_context_getter.h
@@ -17,6 +17,7 @@
namespace net {
class CookieStore;
class HttpTransactionFactory;
+class NetLog;
class ProxyConfigService;
class URLRequestContext;
class URLRequestJobFactory;
@@ -48,6 +49,7 @@ class AwURLRequestContextGetter : public net::URLRequestContextGetter {
data_reduction_proxy::DataReductionProxyAuthRequestHandler*
GetDataReductionProxyAuthRequestHandler() const;
+ net::NetLog* GetNetLog() const;
private:
friend class AwBrowserContext;
@@ -74,6 +76,7 @@ class AwURLRequestContextGetter : public net::URLRequestContextGetter {
data_reduction_proxy_auth_request_handler_;
scoped_ptr<net::URLRequestJobFactory> job_factory_;
scoped_ptr<net::HttpTransactionFactory> main_http_factory_;
+ scoped_ptr<net::NetLog> net_log_;
// ProtocolHandlers and interceptors are stored here between
// SetHandlersAndInterceptors() and the first GetURLRequestContext() call.

Powered by Google App Engine
This is Rietveld 408576698