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 bf5bc50e477d7fab725fb158e95b5759f445d52d..d46a27b1ecdfa274ed359f4008a91e2591960669 100644 |
--- a/chrome/browser/profiles/profile_impl_io_data.cc |
+++ b/chrome/browser/profiles/profile_impl_io_data.cc |
@@ -30,6 +30,7 @@ |
#include "net/base/server_bound_cert_service.h" |
#include "net/ftp/ftp_network_layer.h" |
#include "net/http/http_cache.h" |
+#include "net/url_request/data_protocol_handler.h" |
#include "net/url_request/url_request_job_factory.h" |
#include "webkit/quota/special_storage_policy.h" |
@@ -448,6 +449,8 @@ void ProfileImplIOData::LazyInitializeInternal( |
for (int i = 0; i < 3; i++) { |
SetUpJobFactoryDefaults(job_factories[i]); |
+ job_factories[i]->SetProtocolHandler(chrome::kDataScheme, |
erikwright (departed)
2012/07/13 15:11:15
Should this go in SetUpJobFactoryDefaults?
shalev
2012/07/17 19:39:48
Done.
|
+ new net::DataProtocolHandler()); |
job_factories[i]->AddInterceptor( |
new chrome_browser_net::ConnectInterceptor(predictor_.get())); |
} |