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

Unified Diff: chrome/browser/chromeos/drive/sync/remove_performer_unittest.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/drive/sync/remove_performer_unittest.cc
diff --git a/chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc b/chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc
index dc98b11d69936dbb658e72d90afd0770b4f69e0a..34c9081da2391b033020dcc4824953bfe4d1c4d4 100644
--- a/chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc
+++ b/chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc
@@ -49,7 +49,7 @@ TEST_F(RemovePerformerTest, RemoveFile) {
EXPECT_EQ(FILE_ERROR_OK, error);
// Verify the file is indeed removed in the server.
- google_apis::GDataErrorCode gdata_error = google_apis::GDATA_OTHER_ERROR;
+ google_apis::DriveApiErrorCode gdata_error = google_apis::DRIVE_OTHER_ERROR;
scoped_ptr<google_apis::FileResource> gdata_entry;
fake_service()->GetFileResource(
resource_id,
@@ -78,7 +78,7 @@ TEST_F(RemovePerformerTest, RemoveShared) {
"drive/other/shared.txt"));
// Prepare a shared file to the root folder.
- google_apis::GDataErrorCode gdata_error = google_apis::GDATA_OTHER_ERROR;
+ google_apis::DriveApiErrorCode gdata_error = google_apis::DRIVE_OTHER_ERROR;
scoped_ptr<google_apis::FileResource> gdata_entry;
fake_service()->AddNewFile(
"text/plain",
@@ -106,7 +106,7 @@ TEST_F(RemovePerformerTest, RemoveShared) {
EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(kPathInOther, &entry));
// Remotely, the entry should have lost its parent.
- gdata_error = google_apis::GDATA_OTHER_ERROR;
+ gdata_error = google_apis::DRIVE_OTHER_ERROR;
const std::string resource_id = gdata_entry->file_id();
fake_service()->GetFileResource(
resource_id,

Powered by Google App Engine
This is Rietveld 408576698