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

Unified Diff: jingle/notifier/listener/fake_push_client.h

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
Index: jingle/notifier/listener/fake_push_client.h
diff --git a/jingle/notifier/listener/fake_push_client.h b/jingle/notifier/listener/fake_push_client.h
index 61ba72b2d94e9e5a594871e700661fa87cf17a77..12c2026d1d92fa5dc9d293e47c3668afab664a48 100644
--- a/jingle/notifier/listener/fake_push_client.h
+++ b/jingle/notifier/listener/fake_push_client.h
@@ -11,6 +11,7 @@
#include "base/compiler_specific.h"
#include "base/observer_list.h"
#include "jingle/notifier/listener/push_client.h"
+#include "jingle/notifier/listener/push_client_observer.h"
namespace notifier {
@@ -29,8 +30,8 @@ class FakePushClient : public PushClient {
const std::string& email, const std::string& token) OVERRIDE;
virtual void SendNotification(const Notification& notification) OVERRIDE;
- // Triggers OnNotificationStateChange on all observers.
- void SimulateNotificationStateChange(bool notifications_enabled);
+ // Triggers OnPushClientStateChange on all observers.
+ void SimulatePushClientStateChange(PushClientState push_client_state);
// Triggers OnIncomingNotification on all observers.
void SimulateIncomingNotification(const Notification& notification);

Powered by Google App Engine
This is Rietveld 408576698