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

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

Issue 580023003: Rename the drive: scheme with the externalfile: scheme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 years, 3 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/fileapi/file_system_backend.cc ('k') | chrome/browser/ui/browser.cc » ('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 552658c087c9483e6bb96054005bcd8b31c08127..b06f78c4d092ca3b0506fdfe72978af4d1478cc9 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -115,7 +115,7 @@
#endif // defined(OS_ANDROID)
#if defined(OS_CHROMEOS)
-#include "chrome/browser/chromeos/drive/drive_protocol_handler.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"
#include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h"
@@ -695,7 +695,7 @@ bool ProfileIOData::IsHandledProtocol(const std::string& scheme) {
content::kChromeUIScheme,
url::kDataScheme,
#if defined(OS_CHROMEOS)
- chrome::kDriveScheme,
+ chrome::kExternalFileScheme,
#endif // defined(OS_CHROMEOS)
url::kAboutScheme,
#if !defined(DISABLE_FTP_SUPPORT)
@@ -1144,8 +1144,8 @@ scoped_ptr<net::URLRequestJobFactory> ProfileIOData::SetUpJobFactoryDefaults(
#if defined(OS_CHROMEOS)
if (profile_params_) {
set_protocol = job_factory->SetProtocolHandler(
- chrome::kDriveScheme,
- new drive::DriveProtocolHandler(profile_params_->profile));
+ chrome::kExternalFileScheme,
+ new chromeos::ExternalFileProtocolHandler(profile_params_->profile));
DCHECK(set_protocol);
}
#endif // defined(OS_CHROMEOS)
« no previous file with comments | « chrome/browser/chromeos/fileapi/file_system_backend.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698