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

Unified Diff: chrome/browser/sync/engine/all_status.cc

Issue 7477004: Simulate transient error and verify exponential backoff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Upload before commit. Created 9 years, 4 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/sync/engine/all_status.cc
diff --git a/chrome/browser/sync/engine/all_status.cc b/chrome/browser/sync/engine/all_status.cc
index 4b2dbb0cc97753c8e1cb2bfbf985b30f1bc0c4af..1853a2602a4a9ed087414d30c59a30978385adf1 100644
--- a/chrome/browser/sync/engine/all_status.cc
+++ b/chrome/browser/sync/engine/all_status.cc
@@ -53,8 +53,9 @@ sync_api::SyncManager::Status AllStatus::CalcSyncing(
// But this is only used for status, so it is better to have visibility.
status.conflicting_count += snapshot->num_conflicting_updates;
- status.syncing |= snapshot->syncer_status.syncing;
- status.syncing = snapshot->has_more_to_sync && snapshot->is_silenced;
+ status.syncing |= snapshot->syncer_status.sync_in_progress;
+ status.syncing =
+ snapshot->has_more_to_sync && snapshot->is_silenced;
status.initial_sync_ended |= snapshot->is_share_usable;
status.syncer_stuck |= snapshot->syncer_status.syncer_stuck;
« no previous file with comments | « chrome/browser/sync/backend_migrator_unittest.cc ('k') | chrome/browser/sync/engine/process_updates_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698