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

Unified Diff: chrome/browser/drive/drive_app_registry_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/drive/drive_app_registry_unittest.cc
diff --git a/chrome/browser/drive/drive_app_registry_unittest.cc b/chrome/browser/drive/drive_app_registry_unittest.cc
index d15c2d1ece8985e474a2844398608c5f8b575f5e..da23cb6a8ac3d2b2cbdd2c843837013806a69668 100644
--- a/chrome/browser/drive/drive_app_registry_unittest.cc
+++ b/chrome/browser/drive/drive_app_registry_unittest.cc
@@ -197,7 +197,7 @@ TEST_F(DriveAppRegistryTest, UninstallDriveApp) {
size_t original_count = apps.size();
// Uninstall an existing app.
- google_apis::GDataErrorCode error = google_apis::GDATA_OTHER_ERROR;
+ google_apis::DriveApiErrorCode error = google_apis::DRIVE_OTHER_ERROR;
apps_registry_->UninstallApp(
"123456788192",
google_apis::test_util::CreateCopyResultCallback(&error));
@@ -209,7 +209,7 @@ TEST_F(DriveAppRegistryTest, UninstallDriveApp) {
EXPECT_EQ(original_count - 1, apps.size());
// Try to uninstall a non-existing app.
- error = google_apis::GDATA_OTHER_ERROR;
+ error = google_apis::DRIVE_OTHER_ERROR;
apps_registry_->UninstallApp(
"non-existing-app-id",
google_apis::test_util::CreateCopyResultCallback(&error));

Powered by Google App Engine
This is Rietveld 408576698