#ifndef JINGLE_NOTIFIER_LISTENER_NON_BLOCKING_FAKE_PUSH_CLIENT_OBSERVER_H_
#define JINGLE_NOTIFIER_LISTENER_NON_BLOCKING_FAKE_PUSH_CLIENT_OBSERVER_H_
#include "base/compiler_specific.h"
#include "jingle/notifier/listener/push_client_observer.h"
namespace notifier {
class FakePushClientObserver : public PushClientObserver {
public:
FakePushClientObserver();
virtual ~FakePushClientObserver();
virtual void OnNotificationsEnabled() OVERRIDE;
virtual void OnNotificationsDisabled(
NotificationsDisabledReason reason) OVERRIDE;
virtual void OnIncomingNotification(
const Notification& notification) OVERRIDE;
NotificationsDisabledReason last_notifications_disabled_reason() const;
const Notification& last_incoming_notification() const;
private:
NotificationsDisabledReason last_notifications_disabled_reason_;
Notification last_incoming_notification_;
};
}
#endif