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

Unified Diff: chrome/browser/chromeos/gdata/gdata_test_util.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/gdata_test_util.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_test_util.cc b/chrome/browser/chromeos/gdata/gdata_test_util.cc
index 9afab20167c6aa255a61380262132532712933ef..4aa871944032b9d4d98cf69513a0f547697b8675 100644
--- a/chrome/browser/chromeos/gdata/gdata_test_util.cc
+++ b/chrome/browser/chromeos/gdata/gdata_test_util.cc
@@ -63,16 +63,16 @@ bool CacheStatesEqual(const DriveCacheEntry& a, const DriveCacheEntry& b) {
a.is_persistent() == b.is_persistent());
}
-void CopyErrorCodeFromFileOperationCallback(GDataFileError* output,
- GDataFileError error) {
+void CopyErrorCodeFromFileOperationCallback(DriveFileError* output,
+ DriveFileError error) {
DCHECK(output);
*output = error;
}
void CopyResultsFromFileMoveCallback(
- GDataFileError* out_error,
+ DriveFileError* out_error,
FilePath* out_file_path,
- GDataFileError error,
+ DriveFileError error,
const FilePath& moved_file_path) {
DCHECK(out_error);
DCHECK(out_file_path);
@@ -82,9 +82,9 @@ void CopyResultsFromFileMoveCallback(
}
void CopyResultsFromGetEntryInfoCallback(
- GDataFileError* out_error,
+ DriveFileError* out_error,
scoped_ptr<DriveEntryProto>* out_entry_proto,
- GDataFileError error,
+ DriveFileError error,
scoped_ptr<DriveEntryProto> entry_proto) {
DCHECK(out_error);
DCHECK(out_entry_proto);
@@ -94,9 +94,9 @@ void CopyResultsFromGetEntryInfoCallback(
}
void CopyResultsFromReadDirectoryCallback(
- GDataFileError* out_error,
+ DriveFileError* out_error,
scoped_ptr<DriveEntryProtoVector>* out_entries,
- GDataFileError error,
+ DriveFileError error,
scoped_ptr<DriveEntryProtoVector> entries) {
DCHECK(out_error);
DCHECK(out_entries);
@@ -106,10 +106,10 @@ void CopyResultsFromReadDirectoryCallback(
}
void CopyResultsFromGetEntryInfoWithFilePathCallback(
- GDataFileError* out_error,
+ DriveFileError* out_error,
FilePath* out_drive_file_path,
scoped_ptr<DriveEntryProto>* out_entry_proto,
- GDataFileError error,
+ DriveFileError error,
const FilePath& drive_file_path,
scoped_ptr<DriveEntryProto> entry_proto) {
DCHECK(out_error);
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_test_util.h ('k') | chrome/browser/chromeos/gdata/gdata_upload_file_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698