Add support for Chrome 35's "protocol interceptors"

See https://codereview.chromium.org/187223003
This commit is contained in:
Adam Roben 2014-06-26 16:27:22 -04:00
parent 500861d63d
commit 42b86242ea
6 changed files with 34 additions and 10 deletions

View file

@ -34,7 +34,9 @@ class BrowserClient : public content::ContentBrowserClient {
// Subclasses that override this (e.g., to provide their own protocol
// handlers) should call this implementation after doing their own work.
virtual net::URLRequestContextGetter* CreateRequestContext(
content::BrowserContext*, content::ProtocolHandlerMap*) OVERRIDE;
content::BrowserContext* browser_context,
content::ProtocolHandlerMap* protocol_handlers,
content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE;
private:
virtual content::BrowserMainParts* CreateBrowserMainParts(