blob: 06b30d45be6ba72a7715caa49eae017c5cd9aa43 [file] [log] [blame]
// Copyright 2015 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BUFFET_NOTIFICATION_NOTIFICATION_DELEGATE_H_
#define BUFFET_NOTIFICATION_NOTIFICATION_DELEGATE_H_
#include <string>
namespace buffet {
class NotificationDelegate {
public:
virtual void OnConnected(const std::string& channel_name) = 0;
virtual void OnDisconnected() = 0;
virtual void OnPermanentFailure() = 0;
protected:
virtual ~NotificationDelegate() = default;
};
} // namespace buffet
#endif // BUFFET_NOTIFICATION_NOTIFICATION_DELEGATE_H_