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

Unified Diff: chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc

Issue 87463002: Only re-enable remote service if the task used the network. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 1 month 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/sync_file_system/drive_backend/uninstall_app_task.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc b/chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc
index 8d547732d2316019def40bcef47f8af6c4eafa9a..cd0f751d9f8c927580c3fd073fa967d1e51f998c 100644
--- a/chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc
+++ b/chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc
@@ -58,6 +58,7 @@ void UninstallAppTask::Run(const SyncStatusCallback& callback) {
app_root_tracker_id_ = app_root_tracker->tracker_id();
DCHECK(app_root_tracker->has_synced_details());
+ set_used_network(true);
drive_service()->DeleteResource(
app_root_tracker->file_id(),
std::string(), // etag

Powered by Google App Engine
This is Rietveld 408576698