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

Unified Diff: components/sync/engine_impl/all_status.cc

Issue 2475043002: [Sync] Sync client should to exponential backoff when receive partial failure (Closed)
Patch Set: rebase Created 4 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
« no previous file with comments | « components/sync/engine_impl/all_status.h ('k') | components/sync/engine_impl/cycle/data_type_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine_impl/all_status.cc
diff --git a/components/sync/engine_impl/all_status.cc b/components/sync/engine_impl/all_status.cc
index 5552eefbb4d9d8285a15bf1f03fcbf69e102c948..e311e019fccc8d0fc67f21a4d144aa27eb07d726 100644
--- a/components/sync/engine_impl/all_status.cc
+++ b/components/sync/engine_impl/all_status.cc
@@ -100,6 +100,11 @@ void AllStatus::OnThrottledTypesChanged(ModelTypeSet throttled_types) {
status_.throttled_types = throttled_types;
}
+void AllStatus::OnBackedOffTypesChanged(ModelTypeSet backed_off_types) {
+ ScopedStatusLock lock(this);
+ status_.backed_off_types = backed_off_types;
+}
+
void AllStatus::OnMigrationRequested(ModelTypeSet) {}
void AllStatus::OnProtocolEvent(const ProtocolEvent&) {}
« no previous file with comments | « components/sync/engine_impl/all_status.h ('k') | components/sync/engine_impl/cycle/data_type_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698