| Index: content/public/browser/browser_context.h
|
| diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
|
| index ff4446f3843b51eae0726f78fae2262642a48f06..5b91802ff1c0c6707882a5850cb2ca25991dd708 100644
|
| --- a/content/public/browser/browser_context.h
|
| +++ b/content/public/browser/browser_context.h
|
| @@ -7,8 +7,10 @@
|
|
|
| #include "base/callback_forward.h"
|
| #include "base/hash_tables.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "base/supports_user_data.h"
|
| #include "content/common/content_export.h"
|
| +#include "net/url_request/url_request_job_factory.h"
|
|
|
| namespace net {
|
| class URLRequestContextGetter;
|
| @@ -87,6 +89,13 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
|
| // happen on the UI thread.
|
| // TODO(creis): Remove this version in favor of the one below.
|
| virtual net::URLRequestContextGetter* GetRequestContext() = 0;
|
| + virtual net::URLRequestContextGetter* CreateRequestContext(
|
| + scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
| + blob_protocol_handler,
|
| + scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
| + file_system_protocol_handler,
|
| + scoped_ptr<net::URLRequestJobFactory::Interceptor>
|
| + developer_protocol_handler) = 0;
|
|
|
| // Returns the request context appropriate for the given renderer. If the
|
| // renderer process doesn't have an associated installed app, or if the
|
| @@ -95,9 +104,15 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
|
| virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
|
| int renderer_child_id) = 0;
|
|
|
| - virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition(
|
| + virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
|
| const FilePath& partition_path,
|
| - bool in_memory) = 0;
|
| + bool in_memory,
|
| + scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
| + blob_protocol_handler,
|
| + scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
| + file_system_protocol_handler,
|
| + scoped_ptr<net::URLRequestJobFactory::Interceptor>
|
| + developer_protocol_handler) = 0;
|
|
|
| // Returns the default request context for media resources associated with
|
| // this context.
|
|
|