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

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 creation to AwURLRequestContextGetter constructor 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..6c5959679acf0cf6d66c16c81321508b76d0f002 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;
@@ -39,8 +40,6 @@ class AwURLRequestContextGetter : public net::URLRequestContextGetter {
scoped_ptr<data_reduction_proxy::DataReductionProxyConfigService>
config_service);
- void InitializeOnNetworkThread();
-
// net::URLRequestContextGetter implementation.
virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE;
virtual scoped_refptr<base::SingleThreadTaskRunner>
@@ -48,6 +47,7 @@ class AwURLRequestContextGetter : public net::URLRequestContextGetter {
data_reduction_proxy::DataReductionProxyAuthRequestHandler*
GetDataReductionProxyAuthRequestHandler() const;
+ net::NetLog* GetNetLog();
boliu 2014/09/10 14:57:24 Add a comment this can be called on the UI as well
mnaganov (inactive) 2014/09/10 15:34:26 Done.
private:
friend class AwBrowserContext;
@@ -67,6 +67,7 @@ class AwURLRequestContextGetter : public net::URLRequestContextGetter {
const base::FilePath partition_path_;
scoped_refptr<net::CookieStore> cookie_store_;
+ scoped_ptr<net::NetLog> net_log_;
scoped_ptr<net::URLRequestContext> url_request_context_;
scoped_ptr<data_reduction_proxy::DataReductionProxyConfigService>
data_reduction_proxy_config_service_;
« no previous file with comments | « android_webview/browser/aw_content_browser_client.cc ('k') | android_webview/browser/net/aw_url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698