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

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

Issue 10877006: Rename GDataErrorCode to DriveErrorCode, GDataFileError to DriveFileError (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor local variable name fix. Created 8 years, 4 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_task_executor.cc
diff --git a/chrome/browser/chromeos/gdata/drive_task_executor.cc b/chrome/browser/chromeos/gdata/drive_task_executor.cc
index 610f56ceaa4574afc2bb9446b41bb6f38d95172b..d3d0be75437ae62eddd7ee773563689261ec3733 100644
--- a/chrome/browser/chromeos/gdata/drive_task_executor.cc
+++ b/chrome/browser/chromeos/gdata/drive_task_executor.cc
@@ -79,7 +79,7 @@ bool DriveTaskExecutor::ExecuteAndNotify(
}
void DriveTaskExecutor::OnFileEntryFetched(
- GDataFileError error,
+ DriveFileError error,
scoped_ptr<DriveEntryProto> entry_proto) {
// If we aborted, then this will be zero.
if (!current_index_)
@@ -90,9 +90,9 @@ void DriveTaskExecutor::OnFileEntryFetched(
// Here, we are only insterested in files.
if (entry_proto.get() && !entry_proto->has_file_specific_info())
- error = GDATA_FILE_ERROR_NOT_FOUND;
+ error = DRIVE_FILE_ERROR_NOT_FOUND;
- if (!system_service || error != GDATA_FILE_OK) {
+ if (!system_service || error != DRIVE_FILE_OK) {
Done(false);
return;
}
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_task_executor.h ('k') | chrome/browser/chromeos/gdata/file_write_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698