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

Unified Diff: chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc

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/chromeos/file_manager/external_filesystem_apitest.cc
diff --git a/chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc b/chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc
index 455291efef00dfef1e6f25ac6b92e8a51d5ef1e7..600cd583c8230abc5c2e24a358f2273152c5ac30 100644
--- a/chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc
+++ b/chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc
@@ -174,7 +174,7 @@ scoped_ptr<google_apis::FileResource> UpdateDriveEntryTime(
&last_viewed_by_me_time))
return scoped_ptr<google_apis::FileResource>();
- google_apis::GDataErrorCode error = google_apis::GDATA_OTHER_ERROR;
+ google_apis::DriveApiErrorCode error = google_apis::DRIVE_OTHER_ERROR;
scoped_ptr<google_apis::FileResource> entry;
fake_drive_service->UpdateResource(
resource_id,
@@ -198,7 +198,7 @@ scoped_ptr<google_apis::FileResource> AddFileToDriveService(
const std::string& title,
const std::string& last_modified,
const std::string& last_viewed_by_me) {
- google_apis::GDataErrorCode error = google_apis::GDATA_OTHER_ERROR;
+ google_apis::DriveApiErrorCode error = google_apis::DRIVE_OTHER_ERROR;
scoped_ptr<google_apis::FileResource> entry;
fake_drive_service->AddNewFile(
mime_type,
@@ -221,7 +221,7 @@ scoped_ptr<google_apis::FileResource> AddDirectoryToDriveService(
const std::string& title,
const std::string& last_modified,
const std::string& last_viewed_by_me) {
- google_apis::GDataErrorCode error = google_apis::GDATA_OTHER_ERROR;
+ google_apis::DriveApiErrorCode error = google_apis::DRIVE_OTHER_ERROR;
scoped_ptr<google_apis::FileResource> entry;
fake_drive_service->AddNewDirectory(
parent_resource_id,
@@ -610,7 +610,7 @@ class MultiProfileDriveFileSystemExtensionApiTest :
static_cast<drive::FakeDriveService*>(
drive::util::GetDriveServiceByProfile(second_profile));
- google_apis::GDataErrorCode error = google_apis::GDATA_OTHER_ERROR;
+ google_apis::DriveApiErrorCode error = google_apis::DRIVE_OTHER_ERROR;
scoped_ptr<google_apis::FileResource> entry;
// Place a hosted document under root/test_dir of the sub profile.
@@ -625,7 +625,7 @@ class MultiProfileDriveFileSystemExtensionApiTest :
// Place the hosted document with no parent in the main profile, for
// simulating the situation that the document is shared to the main profile.
- error = google_apis::GDATA_OTHER_ERROR;
+ error = google_apis::DRIVE_OTHER_ERROR;
main_service->AddNewFileWithResourceId(
kResourceId,
"application/vnd.google-apps.document", "", "", "hosted_doc", true,

Powered by Google App Engine
This is Rietveld 408576698