Chromium Code Reviews| Index: chrome/browser/profiles/off_the_record_profile_impl.cc |
| diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc |
| index 20c643285a167395589794b73f5b4796e97ede83..bbb25abcababe5eca0407a63be5c00e804000a83 100644 |
| --- a/chrome/browser/profiles/off_the_record_profile_impl.cc |
| +++ b/chrome/browser/profiles/off_the_record_profile_impl.cc |
| @@ -267,8 +267,10 @@ net::URLRequestContextGetter* OffTheRecordProfileImpl::GetRequestContext() { |
| } |
| net::URLRequestContextGetter* OffTheRecordProfileImpl::CreateRequestContext( |
| - content::ProtocolHandlerMap* protocol_handlers) { |
| - return io_data_.CreateMainRequestContextGetter(protocol_handlers).get(); |
| + content::ProtocolHandlerMap* protocol_handlers, |
| + content::ProtocolHandlerScopedVector protocol_interceptors) { |
| + return io_data_.CreateMainRequestContextGetter( |
| + protocol_handlers, protocol_interceptors.Pass()).get(); |
|
mmenke
2014/03/06 19:28:22
nit: I don't think I've ever seen this indentatio
kinuko
2014/03/07 08:25:01
Done.
|
| } |
| net::URLRequestContextGetter* |
| @@ -365,12 +367,16 @@ net::URLRequestContextGetter* |
| } |
| net::URLRequestContextGetter* |
| - OffTheRecordProfileImpl::CreateRequestContextForStoragePartition( |
| - const base::FilePath& partition_path, |
| - bool in_memory, |
| - content::ProtocolHandlerMap* protocol_handlers) { |
| +OffTheRecordProfileImpl::CreateRequestContextForStoragePartition( |
| + const base::FilePath& partition_path, |
| + bool in_memory, |
| + content::ProtocolHandlerMap* protocol_handlers, |
| + content::ProtocolHandlerScopedVector protocol_interceptors) { |
| return io_data_.CreateIsolatedAppRequestContextGetter( |
| - partition_path, in_memory, protocol_handlers).get(); |
| + partition_path, |
| + in_memory, |
| + protocol_handlers, |
| + protocol_interceptors.Pass()).get(); |
| } |
| content::ResourceContext* OffTheRecordProfileImpl::GetResourceContext() { |