OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef BLIMP_CLIENT_CORE_SETTINGS_BLIMP_SETTINGS_DELEGATE_H_ |
| 6 #define BLIMP_CLIENT_CORE_SETTINGS_BLIMP_SETTINGS_DELEGATE_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 |
| 10 namespace blimp { |
| 11 namespace client { |
| 12 |
| 13 class ConnectionStatus; |
| 14 class IdentitySource; |
| 15 |
| 16 // BlimpSettingsDelegate is an interface that provides functionalities needed |
| 17 // by core/settings. |
| 18 class BlimpSettingsDelegate { |
| 19 public: |
| 20 // Get IdentitySource that provides sign in state change. |
| 21 virtual IdentitySource* GetIdentitySource() = 0; |
| 22 |
| 23 // Get the connection status that provides engine IP and broadcasts network |
| 24 // events. |
| 25 virtual ConnectionStatus* GetConnectionStatus() = 0; |
| 26 }; |
| 27 |
| 28 } // namespace client |
| 29 } // namespace blimp |
| 30 |
| 31 #endif // BLIMP_CLIENT_CORE_SETTINGS_BLIMP_SETTINGS_DELEGATE_H_ |
OLD | NEW |