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

Unified Diff: sync/tools/sync_listen_notifications.cc

Issue 10545170: [Sync] Propagate XMPP auth errors to SyncNotifierObservers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix 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
« sync/notifier/p2p_notifier.cc ('K') | « sync/sync.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/tools/sync_listen_notifications.cc
diff --git a/sync/tools/sync_listen_notifications.cc b/sync/tools/sync_listen_notifications.cc
index 52e2efa63c6d452ddfc1c96f0bf59cddd786c05e..8290d4bef87215b37f018357b9fd70df4a7e6c84 100644
--- a/sync/tools/sync_listen_notifications.cc
+++ b/sync/tools/sync_listen_notifications.cc
@@ -51,9 +51,10 @@ class NotificationPrinter : public sync_notifier::SyncNotifierObserver {
}
}
- virtual void OnNotificationStateChange(
- bool notifications_enabled) OVERRIDE {
- LOG(INFO) << "Notifications enabled: " << notifications_enabled;
+ virtual void OnSyncNotifierStateChange(
+ sync_notifier::SyncNotifierState sync_notifier_state) OVERRIDE {
+ LOG(INFO) << "SyncNotifierState: "
+ << sync_notifier::SyncNotifierStateToString(sync_notifier_state);
}
private:
« sync/notifier/p2p_notifier.cc ('K') | « sync/sync.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698