| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_ | 5 #ifndef CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_ |
| 6 #define CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_ | 6 #define CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "net/base/network_change_notifier_factory.h" | 10 #include "net/base/network_change_notifier_factory.h" |
| 11 | 11 |
| 12 namespace chromecast { | 12 namespace chromecast { |
| 13 | 13 |
| 14 class NetworkChangeNotifierCast; | |
| 15 | |
| 16 class NetworkChangeNotifierFactoryCast | 14 class NetworkChangeNotifierFactoryCast |
| 17 : public net::NetworkChangeNotifierFactory { | 15 : public net::NetworkChangeNotifierFactory { |
| 18 public: | 16 public: |
| 19 NetworkChangeNotifierFactoryCast() {} | 17 NetworkChangeNotifierFactoryCast() {} |
| 20 ~NetworkChangeNotifierFactoryCast() override; | 18 ~NetworkChangeNotifierFactoryCast() override; |
| 21 | 19 |
| 22 // net::NetworkChangeNotifierFactory implementation: | 20 // net::NetworkChangeNotifierFactory implementation: |
| 23 net::NetworkChangeNotifier* CreateInstance() override; | 21 net::NetworkChangeNotifier* CreateInstance() override; |
| 24 | 22 |
| 25 private: | 23 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierFactoryCast); | 24 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierFactoryCast); |
| 27 }; | 25 }; |
| 28 | 26 |
| 29 } // namespace chromecast | 27 } // namespace chromecast |
| 30 | 28 |
| 31 #endif // CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_ | 29 #endif // CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_ |
| OLD | NEW |