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

Unified Diff: chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h

Issue 881403003: Rename gdata_errorcode.h to drive_api_error_codes.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typos in BUILD.gn Created 5 years, 11 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/sync_file_system/drive_backend/fake_drive_service_helper.h
diff --git a/chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h b/chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h
index 1f882d9690d8e31696c4b3c7c62c45f7466b74e5..f5b4cd8bc727574fa9200a85df159ca98f7c17f0 100644
--- a/chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h
+++ b/chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h
@@ -25,60 +25,60 @@ class FakeDriveServiceHelper {
const std::string& sync_root_folder_title);
virtual ~FakeDriveServiceHelper();
- google_apis::GDataErrorCode AddOrphanedFolder(
+ google_apis::DriveApiErrorCode AddOrphanedFolder(
const std::string& title,
std::string* folder_id);
- google_apis::GDataErrorCode AddFolder(
+ google_apis::DriveApiErrorCode AddFolder(
const std::string& parent_folder_id,
const std::string& title,
std::string* folder_id);
- google_apis::GDataErrorCode AddFile(
+ google_apis::DriveApiErrorCode AddFile(
const std::string& parent_folder_id,
const std::string& title,
const std::string& content,
std::string* file_id);
- google_apis::GDataErrorCode UpdateFile(
+ google_apis::DriveApiErrorCode UpdateFile(
const std::string& file_id,
const std::string& content);
- google_apis::GDataErrorCode DeleteResource(
+ google_apis::DriveApiErrorCode DeleteResource(
const std::string& file_id);
- google_apis::GDataErrorCode TrashResource(
+ google_apis::DriveApiErrorCode TrashResource(
const std::string& file_id);
- google_apis::GDataErrorCode UpdateModificationTime(
+ google_apis::DriveApiErrorCode UpdateModificationTime(
const std::string& file_id,
const base::Time& modification_time);
- google_apis::GDataErrorCode RenameResource(
+ google_apis::DriveApiErrorCode RenameResource(
const std::string& file_id,
const std::string& new_title);
- google_apis::GDataErrorCode AddResourceToDirectory(
+ google_apis::DriveApiErrorCode AddResourceToDirectory(
const std::string& parent_folder_id,
const std::string& file_id);
- google_apis::GDataErrorCode RemoveResourceFromDirectory(
+ google_apis::DriveApiErrorCode RemoveResourceFromDirectory(
const std::string& parent_folder_id,
const std::string& file_id);
- google_apis::GDataErrorCode GetSyncRootFolderID(
+ google_apis::DriveApiErrorCode GetSyncRootFolderID(
std::string* sync_root_folder_id);
- google_apis::GDataErrorCode ListFilesInFolder(
+ google_apis::DriveApiErrorCode ListFilesInFolder(
const std::string& folder_id,
ScopedVector<google_apis::FileResource>* entries);
- google_apis::GDataErrorCode SearchByTitle(
+ google_apis::DriveApiErrorCode SearchByTitle(
const std::string& folder_id,
const std::string& title,
ScopedVector<google_apis::FileResource>* entries);
- google_apis::GDataErrorCode GetFileResource(
+ google_apis::DriveApiErrorCode GetFileResource(
const std::string& file_id,
scoped_ptr<google_apis::FileResource>* entry);
- google_apis::GDataErrorCode ReadFile(
+ google_apis::DriveApiErrorCode ReadFile(
const std::string& file_id,
std::string* file_content);
- google_apis::GDataErrorCode GetAboutResource(
+ google_apis::DriveApiErrorCode GetAboutResource(
scoped_ptr<google_apis::AboutResource>* about_resource);
base::FilePath base_dir_path() { return base_dir_.path(); }
private:
- google_apis::GDataErrorCode CompleteListing(
+ google_apis::DriveApiErrorCode CompleteListing(
scoped_ptr<google_apis::FileList> list,
ScopedVector<google_apis::FileResource>* entries);

Powered by Google App Engine
This is Rietveld 408576698