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

Unified Diff: chrome/browser/chromeos/extensions/file_browser_event_router.cc

Issue 10905142: Rename GData to Drive in drive_file_system_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | chrome/browser/chromeos/extensions/file_browser_handler_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_browser_event_router.cc
diff --git a/chrome/browser/chromeos/extensions/file_browser_event_router.cc b/chrome/browser/chromeos/extensions/file_browser_event_router.cc
index ecf4a8676b868ab60ff324550bfa1f5170627c31..f2089000f0dd9cc78b70aa7d9980d64a68cc0840 100644
--- a/chrome/browser/chromeos/extensions/file_browser_event_router.cc
+++ b/chrome/browser/chromeos/extensions/file_browser_event_router.cc
@@ -172,7 +172,7 @@ bool FileBrowserEventRouter::AddFileWatch(
// directory from there in order to be able to pair these events with
// their change notifications.
if (gdata::util::GetSpecialRemoteRootPath().IsParent(watch_path)) {
- watch_path = gdata::util::ExtractGDataPath(watch_path);
+ watch_path = gdata::util::ExtractDrivePath(watch_path);
is_remote_watch = true;
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
@@ -208,7 +208,7 @@ void FileBrowserEventRouter::RemoveFileWatch(
// directory from there in order to be able to pair these events with
// their change notifications.
if (gdata::util::GetSpecialRemoteRootPath().IsParent(watch_path)) {
- watch_path = gdata::util::ExtractGDataPath(watch_path);
+ watch_path = gdata::util::ExtractDrivePath(watch_path);
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
base::Bind(&FileBrowserEventRouter::HandleRemoteUpdateRequestOnUIThread,
@@ -253,7 +253,7 @@ void FileBrowserEventRouter::OnAuthenticated(
error_code = chromeos::MOUNT_ERROR_NOT_AUTHENTICATED;
// Pass back the gdata mount point path as source path.
- const std::string& gdata_path = gdata::util::GetGDataMountPointPathAsString();
+ const std::string& gdata_path = gdata::util::GetDriveMountPointPathAsString();
DiskMountManager::MountPointInfo mount_info(
gdata_path,
gdata_path,
@@ -459,7 +459,7 @@ void FileBrowserEventRouter::OnFileSystemBeingUnmounted() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
// Raise a MountCompleted event to notify the File Manager.
- const std::string& gdata_path = gdata::util::GetGDataMountPointPathAsString();
+ const std::string& gdata_path = gdata::util::GetDriveMountPointPathAsString();
DiskMountManager::MountPointInfo mount_info(
gdata_path,
gdata_path,
@@ -473,7 +473,7 @@ void FileBrowserEventRouter::OnAuthenticationFailed() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
// Raise a MountCompleted event to notify the File Manager.
- const std::string& gdata_path = gdata::util::GetGDataMountPointPathAsString();
+ const std::string& gdata_path = gdata::util::GetDriveMountPointPathAsString();
DiskMountManager::MountPointInfo mount_info(
gdata_path,
gdata_path,
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_browser_handler_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698