OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_CAST_H_ |
| 6 #define CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_CAST_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" |
| 10 #include "net/base/network_change_notifier.h" |
| 11 |
| 12 namespace net { |
| 13 |
| 14 // TODO(lcwu): This is a place holder for cast-specific NetworkChangeNotifier |
| 15 // implementation. The actual implementation of this class will come in |
| 16 // later CLs after we clean up the code. |
| 17 class NetworkChangeNotifierCast : public NetworkChangeNotifier { |
| 18 public: |
| 19 NetworkChangeNotifierCast(); |
| 20 virtual ~NetworkChangeNotifierCast(); |
| 21 |
| 22 // Implementation of net::NetworkChangeNotifier. |
| 23 virtual NetworkChangeNotifier::ConnectionType |
| 24 GetCurrentConnectionType() const OVERRIDE; |
| 25 |
| 26 private: |
| 27 friend class NetworkChangeNotifierCastTest; |
| 28 |
| 29 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierCast); |
| 30 }; |
| 31 |
| 32 } // namespace net |
| 33 |
| 34 #endif // CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_CAST_H_ |
OLD | NEW |