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

Unified Diff: sync/engine/update_handler.h

Issue 232003005: [Sync] Add support for retrying a getupdates due to a context change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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: sync/engine/update_handler.h
diff --git a/sync/engine/update_handler.h b/sync/engine/update_handler.h
index 29bdbc9deea2093f2e4ca6fd53d6bec03e3b28a4..7adfb83d12b2326a8f0123633f8f6120f68e4ba5 100644
--- a/sync/engine/update_handler.h
+++ b/sync/engine/update_handler.h
@@ -49,7 +49,10 @@ class SYNC_EXPORT_PRIVATE UpdateHandler {
//
// In this context, "applicable_updates" means the set of updates belonging to
// this type.
- virtual void ProcessGetUpdatesResponse(
+ //
+ // Returns true if the response was successfully handled, false if an error
+ // occurred and the GetUpdates should be retried.
+ virtual bool ProcessGetUpdatesResponse(
const sync_pb::DataTypeProgressMarker& progress_marker,
const sync_pb::DataTypeContext& mutated_context,
const SyncEntityList& applicable_updates,

Powered by Google App Engine
This is Rietveld 408576698