| Index: chrome/browser/drive/drive_app_registry.cc
|
| diff --git a/chrome/browser/drive/drive_app_registry.cc b/chrome/browser/drive/drive_app_registry.cc
|
| index 903cbd8e75799bbfd185e3d2b7d4725af9976fdb..5b31a77cb29932ce3fa6b7b84d7c9e9d3342e89e 100644
|
| --- a/chrome/browser/drive/drive_app_registry.cc
|
| +++ b/chrome/browser/drive/drive_app_registry.cc
|
| @@ -13,6 +13,7 @@
|
| #include "chrome/browser/drive/drive_service_interface.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "google_apis/drive/drive_api_parser.h"
|
| +#include "google_apis/google_api_keys.h"
|
|
|
| using content::BrowserThread;
|
|
|
| @@ -205,11 +206,7 @@ void DriveAppRegistry::OnAppUninstalled(const std::string& app_id,
|
|
|
| // static
|
| bool DriveAppRegistry::IsAppUninstallSupported() {
|
| -#ifdef USE_OFFICIAL_GOOGLE_API_KEYS
|
| - return true;
|
| -#else
|
| - return false;
|
| -#endif
|
| + return google_apis::IsGoogleChromeAPIKeyUsed();
|
| }
|
|
|
| namespace util {
|
|
|