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

Unified Diff: chrome/browser/drive/fake_drive_service.cc

Issue 140533002: drive: Apps.delete returns HTTP_NO_CONTENT on success. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/fake_drive_service.cc
diff --git a/chrome/browser/drive/fake_drive_service.cc b/chrome/browser/drive/fake_drive_service.cc
index c7638950ba39c0c2139af539eb8c7cd9dc1bc2fe..2fd6eb01f751cbf5edc558764c01283d02a2a507 100644
--- a/chrome/browser/drive/fake_drive_service.cc
+++ b/chrome/browser/drive/fake_drive_service.cc
@@ -1280,7 +1280,7 @@ CancelCallback FakeDriveService::UninstallApp(
if (items->GetDictionary(i, &item) && item->GetString("id", &id) &&
id == app_id) {
if (items->Remove(i, NULL))
- error = google_apis::HTTP_SUCCESS;
+ error = google_apis::HTTP_NO_CONTENT;
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698