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

Unified Diff: chrome/browser/chromeos/gdata/drive_file_system.cc

Issue 10915139: Rename GData/gdata to Drive/drive for comments/local variables/member variables (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
Index: chrome/browser/chromeos/gdata/drive_file_system.cc
diff --git a/chrome/browser/chromeos/gdata/drive_file_system.cc b/chrome/browser/chromeos/gdata/drive_file_system.cc
index 67e07328ec45ff5365e8ea5ba3a345d8dcaa9226..cd332d2cec4b09ae1b6bcd369544ab08b4d53af7 100644
--- a/chrome/browser/chromeos/gdata/drive_file_system.cc
+++ b/chrome/browser/chromeos/gdata/drive_file_system.cc
@@ -45,11 +45,11 @@ const char kMimeTypeOctetStream[] = "application/octet-stream";
const char kEmptyFilePath[] = "/dev/null";
-// GData update check interval (in seconds).
+// Drive update check interval (in seconds).
#ifndef NDEBUG
-const int kGDataUpdateCheckIntervalInSec = 5;
+const int kDriveUpdateCheckIntervalInSec = 5;
#else
-const int kGDataUpdateCheckIntervalInSec = 60;
+const int kDriveUpdateCheckIntervalInSec = 60;
#endif
//================================ Helper functions ============================
@@ -545,7 +545,7 @@ void DriveFileSystem::StartUpdates() {
DCHECK(!update_timer_.IsRunning());
update_timer_.Start(FROM_HERE,
base::TimeDelta::FromSeconds(
- kGDataUpdateCheckIntervalInSec),
+ kDriveUpdateCheckIntervalInSec),
base::Bind(&DriveFileSystem::CheckForUpdates,
ui_weak_ptr_));
}
@@ -967,7 +967,7 @@ void DriveFileSystem::OnGetFileCompleteForTransferFile(
return;
}
- // GetFileByPath downloads the file from gdata to a local cache, which is then
+ // GetFileByPath downloads the file from Drive to a local cache, which is then
// copied to the actual destination path on the local file system using
// CopyLocalFileOnBlockingPool.
DriveFileError* copy_file_error =
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_download_observer.cc ('k') | chrome/browser/chromeos/gdata/drive_file_system_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698