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 NET_QUIC_NETWORK_CONNECTION_H_ | 5 #ifndef NET_QUIC_NETWORK_CONNECTION_H_ |
6 #define NET_QUIC_NETWORK_CONNECTION_H_ | 6 #define NET_QUIC_NETWORK_CONNECTION_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "net/base/net_export.h" | 9 #include "net/base/net_export.h" |
10 #include "net/base/network_change_notifier.h" | 10 #include "net/base/network_change_notifier.h" |
11 | 11 |
12 namespace net { | 12 namespace net { |
13 | 13 |
14 namespace test { | 14 namespace test { |
15 class NetworkConnectionPeer; | 15 class NetworkConnectionPeer; |
16 } // namespace test | 16 } // namespace test |
17 | 17 |
18 // This class returns the current network's connection description. It also | 18 // This class returns the current network's connection description. It also |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // calling expensive GetWifiPHYLayerProtocol() function. | 52 // calling expensive GetWifiPHYLayerProtocol() function. |
53 NetworkChangeNotifier::ConnectionType connection_type_; | 53 NetworkChangeNotifier::ConnectionType connection_type_; |
54 const char* connection_description_; | 54 const char* connection_description_; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(NetworkConnection); | 56 DISALLOW_COPY_AND_ASSIGN(NetworkConnection); |
57 }; | 57 }; |
58 | 58 |
59 } // namespace net | 59 } // namespace net |
60 | 60 |
61 #endif // NET_QUIC_NETWORK_CONNECTION_H_ | 61 #endif // NET_QUIC_NETWORK_CONNECTION_H_ |
OLD | NEW |