OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 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 CHROME_BROWSER_CHROMEOS_NET_CONNECTIVITY_STATE_HELPER_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_NET_CONNECTIVITY_STATE_HELPER_OBSERVER_H_ |
| 7 |
| 8 namespace chromeos { |
| 9 |
| 10 // A common observer interface used by the ConnectivityStateHelper object to |
| 11 // relay observing events received from the (older) NetworkLibrary or the (new) |
| 12 // NetworkStateHandler implementations. |
| 13 class ConnectivityStateHelperObserver { |
| 14 public: |
| 15 // Called when there's a change on the connection manager. |
| 16 virtual void NetworkManagerChanged() = 0; |
| 17 }; |
| 18 |
| 19 } // namespace chromeos |
| 20 |
| 21 #endif // CHROME_BROWSER_CHROMEOS_NET_CONNECTIVITY_STATE_HELPER_OBSERVER_H_ |
OLD | NEW |