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

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

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
« no previous file with comments | « net/base/network_config_watcher_mac.cc ('k') | net/base/network_quality_estimator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef NET_BASE_NETWORK_INTERFACES_H_ 5 #ifndef NET_BASE_NETWORK_INTERFACES_H_
6 #define NET_BASE_NETWORK_INTERFACES_H_ 6 #define NET_BASE_NETWORK_INTERFACES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
11 #include <windows.h> 11 #include <windows.h>
12 #include <ws2tcpip.h> 12 #include <ws2tcpip.h>
13 #elif defined(OS_POSIX) 13 #elif defined(OS_POSIX)
14 #include <sys/types.h> 14 #include <sys/types.h>
15 #include <sys/socket.h> 15 #include <sys/socket.h>
16 #endif 16 #endif
17 17
18 #include <stdint.h>
19
18 #include <string> 20 #include <string>
19 #include <vector> 21 #include <vector>
20 22
21 #include "base/basictypes.h" 23 #include "base/macros.h"
22 #include "base/strings/string16.h" 24 #include "base/strings/string16.h"
23 #include "base/strings/utf_offset_string_conversions.h" 25 #include "base/strings/utf_offset_string_conversions.h"
24 #include "net/base/address_family.h" 26 #include "net/base/address_family.h"
25 #include "net/base/escape.h" 27 #include "net/base/escape.h"
26 #include "net/base/ip_address_number.h" 28 #include "net/base/ip_address_number.h"
27 #include "net/base/net_export.h" 29 #include "net/base/net_export.h"
28 #include "net/base/network_change_notifier.h" 30 #include "net/base/network_change_notifier.h"
29 31
30 class GURL; 32 class GURL;
31 33
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 142
141 // Set temporary options on all wifi interfaces. 143 // Set temporary options on all wifi interfaces.
142 // |options| is an ORed bitfield of WifiOptions. 144 // |options| is an ORed bitfield of WifiOptions.
143 // Options are automatically disabled when the scoped pointer 145 // Options are automatically disabled when the scoped pointer
144 // is freed. Currently only available on Windows. 146 // is freed. Currently only available on Windows.
145 NET_EXPORT scoped_ptr<ScopedWifiOptions> SetWifiOptions(int options); 147 NET_EXPORT scoped_ptr<ScopedWifiOptions> SetWifiOptions(int options);
146 148
147 } // namespace net 149 } // namespace net
148 150
149 #endif // NET_BASE_NETWORK_INTERFACES_H_ 151 #endif // NET_BASE_NETWORK_INTERFACES_H_
OLDNEW
« no previous file with comments | « net/base/network_config_watcher_mac.cc ('k') | net/base/network_quality_estimator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698