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_; |