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

Unified Diff: sync/internal_api/public/sync_manager.h

Issue 10545170: [Sync] Propagate XMPP auth errors to SyncNotifierObservers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix deps, win compile error Created 8 years, 6 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/internal_api/public/sync_manager.h
diff --git a/sync/internal_api/public/sync_manager.h b/sync/internal_api/public/sync_manager.h
index f4a42e3015b01c97a90406e3cadb4d1c7125267e..a03e2d72d79e76b16080af679d01fb67f904d363 100644
--- a/sync/internal_api/public/sync_manager.h
+++ b/sync/internal_api/public/sync_manager.h
@@ -532,8 +532,9 @@ class SyncManager {
// Functions used for testing.
- void TriggerOnNotificationStateChangeForTest(
- bool notifications_enabled);
+ void SimulateEnableNotificationsForTest();
+
+ void SimulateDisableNotificationsForTest(int reason);
void TriggerOnIncomingNotificationForTest(
syncable::ModelTypeSet model_types);

Powered by Google App Engine
This is Rietveld 408576698