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

Unified Diff: headless/lib/browser/headless_url_request_context_getter.h

Issue 2841953002: headless: Add support for net logging (Closed)
Patch Set: Created 3 years, 8 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: headless/lib/browser/headless_url_request_context_getter.h
diff --git a/headless/lib/browser/headless_url_request_context_getter.h b/headless/lib/browser/headless_url_request_context_getter.h
index e1bee1ea43f9bc2f5581e09a8fbaccd88c60762f..c5ef2774f07e2e6391bf93210a396551203b4b9b 100644
--- a/headless/lib/browser/headless_url_request_context_getter.h
+++ b/headless/lib/browser/headless_url_request_context_getter.h
@@ -35,7 +35,8 @@ class HeadlessURLRequestContextGetter : public net::URLRequestContextGetter {
content::ProtocolHandlerMap* protocol_handlers,
ProtocolHandlerMap context_protocol_handlers,
content::URLRequestInterceptorScopedVector request_interceptors,
- HeadlessBrowserContextOptions* options);
+ HeadlessBrowserContextOptions* options,
+ net::NetLog* net_log);
// net::URLRequestContextGetter implementation:
net::URLRequestContext* GetURLRequestContext() override;
@@ -62,6 +63,7 @@ class HeadlessURLRequestContextGetter : public net::URLRequestContextGetter {
std::unique_ptr<net::URLRequestContext> url_request_context_;
content::ProtocolHandlerMap protocol_handlers_;
content::URLRequestInterceptorScopedVector request_interceptors_;
+ net::NetLog* net_log_; // Not owned.
DISALLOW_COPY_AND_ASSIGN(HeadlessURLRequestContextGetter);
};

Powered by Google App Engine
This is Rietveld 408576698