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

Unified Diff: chrome/browser/chromeos/gdata/gdata_test_util.h

Issue 10877006: Rename GDataErrorCode to DriveErrorCode, GDataFileError to DriveFileError (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase. 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.h
diff --git a/chrome/browser/chromeos/gdata/gdata_test_util.h b/chrome/browser/chromeos/gdata/gdata_test_util.h
index 93ce2062a7650f8c47b4556da818bc7a6643728f..28a226cbcef5f21d0545b87b0a7b08119be88b21 100644
--- a/chrome/browser/chromeos/gdata/gdata_test_util.h
+++ b/chrome/browser/chromeos/gdata/gdata_test_util.h
@@ -7,7 +7,7 @@
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/chromeos/gdata/drive_resource_metadata.h"
-#include "chrome/browser/chromeos/gdata/gdata_errorcode.h"
+#include "chrome/browser/chromeos/gdata/drive_errorcode.h"
class FilePath;
@@ -48,32 +48,32 @@ bool CacheStatesEqual(const DriveCacheEntry& a, const DriveCacheEntry& b);
// Copies |error| to |output|. Used to run asynchronous functions that take
// FileOperationCallback from tests.
-void CopyErrorCodeFromFileOperationCallback(GDataFileError* output,
- GDataFileError error);
+void CopyErrorCodeFromFileOperationCallback(DriveFileError* output,
+ DriveFileError error);
// Copies |error| and |moved_file_path| to |out_error| and |out_file_path|.
// Used to run asynchronous functions that take FileMoveCallback from tests.
-void CopyResultsFromFileMoveCallback(GDataFileError* out_error,
+void CopyResultsFromFileMoveCallback(DriveFileError* out_error,
FilePath* out_file_path,
- GDataFileError error,
+ DriveFileError error,
const FilePath& moved_file_path);
// Copies |error| and |entry_proto| to |out_error| and |out_entry_proto|
// respectively. Used to run asynchronous functions that take
// GetEntryInfoCallback from tests.
void CopyResultsFromGetEntryInfoCallback(
- GDataFileError* out_error,
+ DriveFileError* out_error,
scoped_ptr<DriveEntryProto>* out_entry_proto,
- GDataFileError error,
+ DriveFileError error,
scoped_ptr<DriveEntryProto> entry_proto);
// Copies |error| and |entries| to |out_error| and |out_entries|
// respectively. Used to run asynchronous functions that take
// GetEntryInfoCallback from tests.
void CopyResultsFromReadDirectoryCallback(
- GDataFileError* out_error,
+ DriveFileError* out_error,
scoped_ptr<DriveEntryProtoVector>* out_entries,
- GDataFileError error,
+ DriveFileError error,
scoped_ptr<DriveEntryProtoVector> entries);
// Copies |error|, |drive_file_path|, and |entry_proto| to |out_error|,
@@ -81,10 +81,10 @@ void CopyResultsFromReadDirectoryCallback(
// asynchronous functions that take GetEntryInfoWithFilePathCallback from
// tests.
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);

Powered by Google App Engine
This is Rietveld 408576698