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

Unified Diff: chrome/browser/chromeos/drive/sync/entry_update_performer.cc

Issue 391343002: Keep sync tasks alive as long as it's not finished (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/chromeos/drive/sync/entry_update_performer.cc
diff --git a/chrome/browser/chromeos/drive/sync/entry_update_performer.cc b/chrome/browser/chromeos/drive/sync/entry_update_performer.cc
index f9e840970c7248c89fbd321f5f2658fe5635d869..13468c3aeabadb4f15c7513d468c2b8d39e5501f 100644
--- a/chrome/browser/chromeos/drive/sync/entry_update_performer.cc
+++ b/chrome/browser/chromeos/drive/sync/entry_update_performer.cc
@@ -254,7 +254,7 @@ void EntryUpdatePerformer::UpdateEntryAfterPrepare(
// This entry should be updated again after the parent update completes.
if (local_state->parent_entry.resource_id().empty() &&
local_state->parent_entry.metadata_edit_state() != ResourceEntry::CLEAN) {
- callback.Run(FILE_ERROR_OK);
+ callback.Run(FILE_ERROR_PARENT_NEEDS_TO_BE_SYNCED);
return;
}

Powered by Google App Engine
This is Rietveld 408576698