Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(860)

Side by Side Diff: net/base/network_interfaces.cc

Issue 1158923005: Use the exact-width integer types defined in <stdint.h> rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comments. Exclude mime_sniffer*. Rebase. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698