Chromium Code Reviews| Index: chrome/browser/profiles/profile.h |
| diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h |
| index 47f1bb66d57fa4449b292d4d7de7e7d14184717c..f7136dcdfdad879800ed39f709e3da285a3f0b98 100644 |
| --- a/chrome/browser/profiles/profile.h |
| +++ b/chrome/browser/profiles/profile.h |
| @@ -15,6 +15,7 @@ |
| #include "chrome/browser/net/pref_proxy_config_tracker.h" |
| #include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h" |
| #include "content/public/browser/browser_context.h" |
| +#include "net/url_request/url_request_job_factory.h" |
| class ChromeAppCacheService; |
| class ChromeURLDataManager; |
| @@ -225,15 +226,28 @@ class Profile : public content::BrowserContext { |
| // Returns the main request context. |
| virtual net::URLRequestContextGetter* GetRequestContext() = 0; |
| + virtual net::URLRequestContextGetter* CreateRequestContext( |
|
awong
2012/12/13 23:53:08
Group this and the CreateRequestContextForStorageP
pauljensen
2012/12/14 16:16:20
Done.
|
| + 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 used for extension-related requests. This |
| // is only used for a separate cookie store currently. |
| virtual net::URLRequestContextGetter* GetRequestContextForExtensions() = 0; |
| // Returns the request context used within |partition_id|. |
| - 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 SSLConfigService for this profile. |
| virtual net::SSLConfigService* GetSSLConfigService() = 0; |