Chromium Code Reviews| 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" | |
|
Ryan Sleevi
2014/07/01 21:13:55
use "base/macros.h" for DISALLOW
lcwu1
2014/07/02 23:30:33
Done.
Also added this include in the other header
| |
| 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. | |
|
Ryan Sleevi
2014/07/01 21:13:55
1) Avoid pronouns in comments ( https://groups.goo
lcwu1
2014/07/02 23:30:33
Done.
Also fixed the same issue in several other
| |
| 17 class NetworkChangeNotifierCast : public NetworkChangeNotifier { | |
| 18 public: | |
| 19 NetworkChangeNotifierCast(); | |
| 20 virtual ~NetworkChangeNotifierCast(); | |
| 21 | |
| 22 // Implementation of net::NetworkChangeNotifier. | |
|
Ryan Sleevi
2014/07/01 21:13:55
You use inconsistent comment styles here with this
lcwu1
2014/07/02 23:30:33
Done.
| |
| 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 |