| // 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_ |
| class NotificationDelegate { |
| virtual void OnConnected(const std::string& channel_name) = 0; |
| virtual void OnDisconnected() = 0; |
| virtual void OnPermanentFailure() = 0; |
| virtual ~NotificationDelegate() = default; |
| #endif // BUFFET_NOTIFICATION_NOTIFICATION_DELEGATE_H_ |