| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "net/quic/network_connection.h" | 5 #include "net/quic/network_connection.h" | 
| 6 | 6 | 
| 7 #include "net/base/net_util.h" | 7 #include "net/base/network_interfaces.h" | 
| 8 | 8 | 
| 9 namespace net { | 9 namespace net { | 
| 10 | 10 | 
| 11 NetworkConnection::NetworkConnection() | 11 NetworkConnection::NetworkConnection() | 
| 12     : connection_type_(NetworkChangeNotifier::CONNECTION_UNKNOWN), | 12     : connection_type_(NetworkChangeNotifier::CONNECTION_UNKNOWN), | 
| 13       connection_description_(nullptr) { | 13       connection_description_(nullptr) { | 
| 14 } | 14 } | 
| 15 | 15 | 
| 16 const char* NetworkConnection::GetDescription() { | 16 const char* NetworkConnection::GetDescription() { | 
| 17   NetworkChangeNotifier::ConnectionType type = | 17   NetworkChangeNotifier::ConnectionType type = | 
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 67 void NetworkConnection::OnIPAddressChanged() { | 67 void NetworkConnection::OnIPAddressChanged() { | 
| 68   Clear(); | 68   Clear(); | 
| 69 } | 69 } | 
| 70 | 70 | 
| 71 void NetworkConnection::OnConnectionTypeChanged( | 71 void NetworkConnection::OnConnectionTypeChanged( | 
| 72     NetworkChangeNotifier::ConnectionType type) { | 72     NetworkChangeNotifier::ConnectionType type) { | 
| 73   Clear(); | 73   Clear(); | 
| 74 } | 74 } | 
| 75 | 75 | 
| 76 }  // namespace net | 76 }  // namespace net | 
| OLD | NEW | 
|---|