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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.cc

Issue 19196004: file_manager: Stop mentioning about 'gdata' from file_manager code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/chromeos/extensions/file_manager/file_manager_event_router.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.cc b/chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.cc
index 123722656c7c3eed9146451abfa38952d7ff9aae..0fec9a0619b5cd0ac8197bd187ef598c10743f4f 100644
--- a/chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.cc
@@ -390,7 +390,7 @@ void FileManagerEventRouter::OnMountEvent(
*disk,
base::FilePath::FromUTF8Unsafe(mount_info.mount_path));
} else if (mount_info.mount_type == chromeos::MOUNT_TYPE_ARCHIVE) {
- // Clear the "mounted" state for archive files in gdata cache
+ // Clear the "mounted" state for archive files in drive cache
// when mounting failed or unmounting succeeded.
if ((event == DiskMountManager::MOUNTING) !=
(error_code == chromeos::MOUNT_ERROR_NONE)) {
@@ -573,10 +573,10 @@ void FileManagerEventRouter::OnFileSystemBeingUnmounted() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
// Raise a mount event to notify the File Manager.
- const std::string& gdata_path = drive::util::GetDriveMountPointPathAsString();
+ const std::string& drive_path = drive::util::GetDriveMountPointPathAsString();
DiskMountManager::MountPointInfo mount_info(
- gdata_path,
- gdata_path,
+ drive_path,
+ drive_path,
chromeos::MOUNT_TYPE_GOOGLE_DRIVE,
chromeos::disks::MOUNT_CONDITION_NONE);
OnMountEvent(DiskMountManager::UNMOUNTING, chromeos::MOUNT_ERROR_NONE,

Powered by Google App Engine
This is Rietveld 408576698