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

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: 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
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 c61fda3fd565248db0cc628ae2b09d06cdec14bb..9b059ad077c3d46a5c2acd5c6f194d9d833277eb 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -107,7 +107,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"
@@ -680,7 +680,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)
@@ -1133,8 +1133,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)

Powered by Google App Engine
This is Rietveld 408576698