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 aed8ab14c0abcf553c21523cd3bb317b132f8cbd..903cbd8e75799bbfd185e3d2b7d4725af9976fdb 100644 |
--- a/chrome/browser/drive/drive_app_registry.cc |
+++ b/chrome/browser/drive/drive_app_registry.cc |
@@ -195,7 +195,7 @@ void DriveAppRegistry::UninstallApp(const std::string& app_id, |
void DriveAppRegistry::OnAppUninstalled(const std::string& app_id, |
const UninstallCallback& callback, |
google_apis::GDataErrorCode error) { |
- if (error == google_apis::HTTP_SUCCESS) { |
+ if (error == google_apis::HTTP_NO_CONTENT) { |
all_apps_.erase(app_id); |
RemoveAppFromSelector(app_id, &mimetype_map_); |
RemoveAppFromSelector(app_id, &extension_map_); |