Index: chrome/browser/profiles/off_the_record_profile_io_data.h |
diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.h b/chrome/browser/profiles/off_the_record_profile_io_data.h |
index b6c81b7756f1ede186d3742e4b937610404c2f81..9f27e6c2f81ddd4925e5d9939edaf5b2fce86d1b 100644 |
--- a/chrome/browser/profiles/off_the_record_profile_io_data.h |
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.h |
@@ -46,11 +46,29 @@ class OffTheRecordProfileIOData : public ProfileIOData { |
scoped_refptr<ChromeURLRequestContextGetter> |
GetMainRequestContextGetter() const; |
scoped_refptr<ChromeURLRequestContextGetter> |
+ CreateMainRequestContextGetter( |
+ 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) const; |
+ scoped_refptr<ChromeURLRequestContextGetter> |
GetExtensionsRequestContextGetter() const; |
scoped_refptr<ChromeURLRequestContextGetter> |
GetIsolatedAppRequestContextGetter( |
const FilePath& partition_path, |
bool in_memory) const; |
+ scoped_refptr<ChromeURLRequestContextGetter> |
+ CreateIsolatedAppRequestContextGetter( |
+ const FilePath& partition_path, |
+ 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) const; |
private: |
typedef std::map<StoragePartitionDescriptor, |
@@ -95,15 +113,27 @@ class OffTheRecordProfileIOData : public ProfileIOData { |
OffTheRecordProfileIOData(); |
virtual ~OffTheRecordProfileIOData(); |
- virtual void LazyInitializeInternal( |
- ProfileParams* profile_params) const OVERRIDE; |
+ virtual void InitializeInternal( |
+ ProfileParams* profile_params, |
+ 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) const OVERRIDE; |
virtual void InitializeExtensionsRequestContext( |
ProfileParams* profile_params) const OVERRIDE; |
virtual ChromeURLRequestContext* InitializeAppRequestContext( |
ChromeURLRequestContext* main_context, |
const StoragePartitionDescriptor& partition_descriptor, |
scoped_ptr<net::URLRequestJobFactory::Interceptor> |
- protocol_handler_interceptor) const OVERRIDE; |
+ protocol_handler_interceptor, |
+ 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) const OVERRIDE; |
virtual ChromeURLRequestContext* InitializeMediaRequestContext( |
ChromeURLRequestContext* original_context, |
const StoragePartitionDescriptor& partition_descriptor) const OVERRIDE; |
@@ -114,7 +144,13 @@ class OffTheRecordProfileIOData : public ProfileIOData { |
ChromeURLRequestContext* main_context, |
const StoragePartitionDescriptor& partition_descriptor, |
scoped_ptr<net::URLRequestJobFactory::Interceptor> |
- protocol_handler_interceptor) const OVERRIDE; |
+ protocol_handler_interceptor, |
+ 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) const OVERRIDE; |
virtual ChromeURLRequestContext* |
AcquireIsolatedMediaRequestContext( |
ChromeURLRequestContext* app_context, |