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

Unified Diff: chrome/browser/drive/drive_app_registry.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/drive/drive_app_registry.h
diff --git a/chrome/browser/drive/drive_app_registry.h b/chrome/browser/drive/drive_app_registry.h
index a3878ec713cdd9d9a5335d1199c1229fdf7299ff..1596cd151d7e1229818d477151735d6a9dc69577 100644
--- a/chrome/browser/drive/drive_app_registry.h
+++ b/chrome/browser/drive/drive_app_registry.h
@@ -15,7 +15,7 @@
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "base/threading/thread_checker.h"
-#include "google_apis/drive/gdata_errorcode.h"
+#include "google_apis/drive/drive_api_error_codes.h"
#include "url/gurl.h"
namespace google_apis {
@@ -67,7 +67,7 @@ struct DriveAppInfo {
};
// Callback type for UninstallApp().
-typedef base::Callback<void(google_apis::GDataErrorCode)> UninstallCallback;
+typedef base::Callback<void(google_apis::DriveApiErrorCode)> UninstallCallback;
// Keeps the track of installed drive applications in-memory.
class DriveAppRegistry {
@@ -107,13 +107,13 @@ class DriveAppRegistry {
private:
// Part of Update(). Runs upon the completion of fetching the Drive apps
// data from the server.
- void UpdateAfterGetAppList(google_apis::GDataErrorCode gdata_error,
+ void UpdateAfterGetAppList(google_apis::DriveApiErrorCode gdata_error,
scoped_ptr<google_apis::AppList> app_list);
// Part of UninstallApp(). Receives the response from the server.
void OnAppUninstalled(const std::string& app_id,
const UninstallCallback& callback,
- google_apis::GDataErrorCode error);
+ google_apis::DriveApiErrorCode error);
// The class is expected to run on UI thread.
base::ThreadChecker thread_checker_;

Powered by Google App Engine
This is Rietveld 408576698