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_FACTORY_CAST_H_ | |
6 #define CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_ | |
7 | |
8 #include "base/basictypes.h" | |
Ryan Sleevi
2014/07/01 21:13:55
use "base/macros.h" instead for DISALLOW
lcwu1
2014/07/02 23:30:33
Done.
| |
9 #include "base/compiler_specific.h" | |
10 #include "net/base/network_change_notifier_factory.h" | |
11 | |
12 namespace net { | |
13 | |
14 class NetworkChangeNotifierCast; | |
15 | |
16 class NetworkChangeNotifierFactoryCast | |
17 : public NetworkChangeNotifierFactory { | |
18 public: | |
19 NetworkChangeNotifierFactoryCast() {} | |
20 virtual ~NetworkChangeNotifierFactoryCast(); | |
21 | |
22 // net::NetworkChangeNotifierFactory overrides. | |
23 virtual net::NetworkChangeNotifier* CreateInstance() OVERRIDE; | |
24 | |
25 static NetworkChangeNotifierCast* GetInstance(); | |
26 | |
27 private: | |
28 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierFactoryCast); | |
29 }; | |
30 | |
31 } // namespace net | |
32 | |
33 #endif // CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_ | |
OLD | NEW |