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/compiler_specific.h" | |
9 #include "base/macros.h" | |
10 #include "net/base/network_change_notifier.h" | |
11 | |
12 namespace net { | |
Ryan Sleevi
2014/07/02 23:55:51
These shouldn't be in the net namespace.
lcwu1
2014/07/03 01:48:59
Done.
| |
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 NetworkChangeNotifier { | |
18 public: | |
19 NetworkChangeNotifierCast(); | |
20 virtual ~NetworkChangeNotifierCast(); | |
21 | |
22 // net::NetworkChangeNotifier implementation: | |
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 |