| 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/base/network_interfaces.h" | 5 #include "net/base/network_interfaces.h" |
| 6 | 6 |
| 7 namespace net { | 7 namespace net { |
| 8 | 8 |
| 9 NetworkInterface::NetworkInterface() | 9 NetworkInterface::NetworkInterface() |
| 10 : type(NetworkChangeNotifier::CONNECTION_UNKNOWN), prefix_length(0) { | 10 : type(NetworkChangeNotifier::CONNECTION_UNKNOWN), prefix_length(0) { |
| 11 } | 11 } |
| 12 | 12 |
| 13 NetworkInterface::NetworkInterface(const std::string& name, | 13 NetworkInterface::NetworkInterface(const std::string& name, |
| 14 const std::string& friendly_name, | 14 const std::string& friendly_name, |
| 15 uint32 interface_index, | 15 uint32_t interface_index, |
| 16 NetworkChangeNotifier::ConnectionType type, | 16 NetworkChangeNotifier::ConnectionType type, |
| 17 const IPAddressNumber& address, | 17 const IPAddressNumber& address, |
| 18 uint32 prefix_length, | 18 uint32_t prefix_length, |
| 19 int ip_address_attributes) | 19 int ip_address_attributes) |
| 20 : name(name), | 20 : name(name), |
| 21 friendly_name(friendly_name), | 21 friendly_name(friendly_name), |
| 22 interface_index(interface_index), | 22 interface_index(interface_index), |
| 23 type(type), | 23 type(type), |
| 24 address(address), | 24 address(address), |
| 25 prefix_length(prefix_length), | 25 prefix_length(prefix_length), |
| 26 ip_address_attributes(ip_address_attributes) { | 26 ip_address_attributes(ip_address_attributes) { |
| 27 } | 27 } |
| 28 | 28 |
| 29 NetworkInterface::~NetworkInterface() { | 29 NetworkInterface::~NetworkInterface() { |
| 30 } | 30 } |
| 31 | 31 |
| 32 ScopedWifiOptions::~ScopedWifiOptions() { | 32 ScopedWifiOptions::~ScopedWifiOptions() { |
| 33 } | 33 } |
| 34 | 34 |
| 35 } // namespace net | 35 } // namespace net |
| OLD | NEW |