| Index: chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| index 7128a0bedad30e84c0d12310dcb8d299d4834c64..407da81c3645fa0bc18fba92d40c1b32aa0da8c1 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| @@ -27,6 +27,7 @@
|
| #include "net/ftp/ftp_network_layer.h"
|
| #include "net/http/http_cache.h"
|
| #include "net/http/http_server_properties_impl.h"
|
| +#include "net/url_request/data_protocol_handler.h"
|
| #include "net/url_request/url_request_job_factory.h"
|
| #include "webkit/database/database_tracker.h"
|
|
|
| @@ -256,6 +257,8 @@ void OffTheRecordProfileIOData::LazyInitializeInternal(
|
|
|
| for (int i = 0; i < 2; i++) {
|
| SetUpJobFactoryDefaults(job_factories[i]);
|
| + job_factories[i]->SetProtocolHandler(chrome::kDataScheme,
|
| + new net::DataProtocolHandler());
|
| }
|
|
|
| main_context->set_job_factory(main_job_factory_.get());
|
|
|