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

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

Issue 10382071: Notify sync observers whenever preferred types change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback. 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
diff --git a/chrome/browser/sync/profile_sync_service_harness.h b/chrome/browser/sync/profile_sync_service_harness.h
index 7ae069c2b81701571379848360d1bf9af25e1250..200d8b98c43ac7d74faa1a74347d4cc1c1f004ef 100644
--- a/chrome/browser/sync/profile_sync_service_harness.h
+++ b/chrome/browser/sync/profile_sync_service_harness.h
@@ -359,6 +359,11 @@ class ProfileSyncServiceHarness
// 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