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