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: |