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

Unified Diff: chrome/browser/sync/profile_sync_service_harness.h

Issue 10387158: Merge 136934 - Notify sync observers whenever preferred types change (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1132/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/profile_sync_service_harness.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service_harness.h
===================================================================
--- chrome/browser/sync/profile_sync_service_harness.h (revision 137481)
+++ chrome/browser/sync/profile_sync_service_harness.h (working copy)
@@ -359,6 +359,11 @@
// related bookkeeping information for verification.
browser_sync::RetryVerifier retry_verifier_;
+ // Flag set to true when we're waiting for a status change to happen. Used to
+ // avoid triggering internal state machine logic on unexpected sync observer
+ // callbacks.
+ bool waiting_for_status_change_;
+
DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceHarness);
};
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/profile_sync_service_harness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698