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

Unified Diff: content/shell/browser/shell_url_request_context_getter.h

Issue 187223003: Allow content layer to pass ProtocolInterceptors when we create URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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: content/shell/browser/shell_url_request_context_getter.h
diff --git a/content/shell/browser/shell_url_request_context_getter.h b/content/shell/browser/shell_url_request_context_getter.h
index b18c0a94f0ed6c6361a5cfaaf8b1bdf9a4c3234e..354951469c8d67eb10ea5a045947fa509ff61b60 100644
--- a/content/shell/browser/shell_url_request_context_getter.h
+++ b/content/shell/browser/shell_url_request_context_getter.h
@@ -36,6 +36,7 @@ class ShellURLRequestContextGetter : public net::URLRequestContextGetter {
base::MessageLoop* io_loop,
base::MessageLoop* file_loop,
ProtocolHandlerMap* protocol_handlers,
+ ProtocolHandlerScopedVector protocol_interceptors,
net::NetLog* net_log);
// net::URLRequestContextGetter implementation.
@@ -60,6 +61,7 @@ class ShellURLRequestContextGetter : public net::URLRequestContextGetter {
scoped_ptr<net::URLRequestContextStorage> storage_;
scoped_ptr<net::URLRequestContext> url_request_context_;
ProtocolHandlerMap protocol_handlers_;
+ ProtocolHandlerScopedVector protocol_interceptors_;
DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter);
};

Powered by Google App Engine
This is Rietveld 408576698