Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2354)

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 2790073002: wip (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/file_request_interceptor.cc ('k') | net/url_request/url_request_file_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 6bda90fa8177a9b711bf21a9ad79e6985f933a35..a0d6abf234b6295130ce6e59cf6767e948f90c70 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -129,6 +129,7 @@
#include "chrome/browser/chromeos/certificate_provider/certificate_provider.h"
#include "chrome/browser/chromeos/certificate_provider/certificate_provider_service.h"
#include "chrome/browser/chromeos/certificate_provider/certificate_provider_service_factory.h"
+#include "chrome/browser/chromeos/file_request_interceptor.h"
#include "chrome/browser/chromeos/fileapi/external_file_protocol_handler.h"
#include "chrome/browser/chromeos/login/startup_utils.h"
#include "chrome/browser/chromeos/net/cert_verify_proc_chromeos.h"
@@ -1172,6 +1173,8 @@ ProfileIOData::SetUpJobFactoryDefaults(
profile_params_->profile));
DCHECK(set_protocol);
}
+ request_interceptors.push_back(
+ base::MakeUnique<chromeos::FileRequestInterceptor>());
eroman 2017/04/04 22:19:45 You will want mmenke to review this change. In fac
#endif // defined(OS_CHROMEOS)
#if defined(OS_ANDROID)
set_protocol = job_factory->SetProtocolHandler(
« no previous file with comments | « chrome/browser/chromeos/file_request_interceptor.cc ('k') | net/url_request/url_request_file_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698