Index: chrome/browser/profiles/profile_impl_io_data.cc |
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc |
index a096dd17c7b32a2df962dbdce61b56194fbd7778..dd912032b87b01c657440b7f91080391c9b8a2fe 100644 |
--- a/chrome/browser/profiles/profile_impl_io_data.cc |
+++ b/chrome/browser/profiles/profile_impl_io_data.cc |
@@ -18,6 +18,7 @@ |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
#include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" |
+#include "chrome/browser/extensions/extension_protocols.h" |
#include "chrome/browser/io_thread.h" |
#include "chrome/browser/net/chrome_net_log.h" |
#include "chrome/browser/net/chrome_network_delegate.h" |
@@ -593,6 +594,10 @@ ProfileImplIOData::InitializeAppRequestContext( |
network_delegate(), |
ftp_factory_.get()); |
} else { |
+ job_factory->SetProtocolHandler( |
Charlie Reis
2013/09/24 19:41:55
This doesn't make sense to me.
First, the comment
nasko
2013/09/24 20:02:01
This indeed looks incorrect and I think it goes ba
Fady Samuel
2013/09/24 23:05:02
Looks like profile_impl_io_data doesn't have enoug
|
+ extensions::kExtensionScheme, |
+ CreateExtensionProtocolHandler(is_incognito(), |
+ GetExtensionInfoMap())); |
Charlie Reis
2013/09/24 19:41:55
nit: 598-600 all have too much indent.
Fady Samuel
2013/09/24 23:05:02
Done.
|
top_job_factory = job_factory.PassAs<net::URLRequestJobFactory>(); |
} |
context->SetJobFactory(top_job_factory.Pass()); |