| Index: content/public/browser/content_browser_client.h
|
| diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
| index 54efa8b7b9dd7d794c55593a2fc1b466b955d0ef..b135c7725e9f6535b657fd017b522aad8daa22a8 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -21,6 +21,7 @@
|
| #include "content/public/common/window_container_type.h"
|
| #include "net/base/mime_util.h"
|
| #include "net/cookies/canonical_cookie.h"
|
| +#include "net/url_request/url_request_interceptor.h"
|
| #include "net/url_request/url_request_job_factory.h"
|
| #include "third_party/WebKit/public/web/WebNotificationPresenter.h"
|
| #include "ui/base/window_open_disposition.h"
|
| @@ -113,8 +114,8 @@ typedef std::map<
|
| ProtocolHandlerMap;
|
|
|
| // A scoped vector of protocol handlers.
|
| -typedef ScopedVector<net::URLRequestJobFactory::ProtocolHandler>
|
| - ProtocolHandlerScopedVector;
|
| +typedef ScopedVector<net::URLRequestInterceptor>
|
| + URLRequestInterceptorScopedVector;
|
|
|
| // Embedder API (or SPI) for participating in browser logic, to be implemented
|
| // by the client of the content browser. See ChromeContentBrowserClient for the
|
| @@ -205,7 +206,7 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| virtual net::URLRequestContextGetter* CreateRequestContext(
|
| BrowserContext* browser_context,
|
| ProtocolHandlerMap* protocol_handlers,
|
| - ProtocolHandlerScopedVector protocol_interceptors);
|
| + URLRequestInterceptorScopedVector request_interceptors);
|
|
|
| // Creates the net::URLRequestContextGetter for a StoragePartition. Should
|
| // only be called once per partition_path per ContentBrowserClient object.
|
| @@ -215,7 +216,7 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| const base::FilePath& partition_path,
|
| bool in_memory,
|
| ProtocolHandlerMap* protocol_handlers,
|
| - ProtocolHandlerScopedVector protocol_interceptors);
|
| + URLRequestInterceptorScopedVector request_interceptors);
|
|
|
| // Returns whether a specified URL is handled by the embedder's internal
|
| // protocol handlers.
|
|
|