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

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

Issue 1154323007: Split network_interfaces.h off of net_utils.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ip_util
Patch Set: address matt's comments 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
« no previous file with comments | « net/base/network_interfaces_posix.h ('k') | net/base/network_interfaces_unittest.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/net_util.h" 5 #include "net/base/net_util.h"
6 6
7 #include <set> 7 #include <set>
8 #include <sys/types.h> 8 #include <sys/types.h>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 11
12 #if !defined(OS_NACL) 12 #if !defined(OS_NACL)
13 #include "net/base/net_util_posix.h" 13 #include "net/base/network_interfaces_posix.h"
14 #include <net/if.h> 14 #include <net/if.h>
15 #include <netinet/in.h> 15 #include <netinet/in.h>
16 #endif // !defined(OS_NACL) 16 #endif // !defined(OS_NACL)
17 17
18 namespace net { 18 namespace net {
19 19
20 #if !defined(OS_NACL) 20 #if !defined(OS_NACL)
21 namespace internal { 21 namespace internal {
22 22
23 // The application layer can pass |policy| defined in net_util.h to 23 // The application layer can pass |policy| defined in net_util.h to
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 WifiPHYLayerProtocol GetWifiPHYLayerProtocol() { 73 WifiPHYLayerProtocol GetWifiPHYLayerProtocol() {
74 return WIFI_PHY_LAYER_PROTOCOL_UNKNOWN; 74 return WIFI_PHY_LAYER_PROTOCOL_UNKNOWN;
75 } 75 }
76 76
77 scoped_ptr<ScopedWifiOptions> SetWifiOptions(int options) { 77 scoped_ptr<ScopedWifiOptions> SetWifiOptions(int options) {
78 return scoped_ptr<ScopedWifiOptions>(); 78 return scoped_ptr<ScopedWifiOptions>();
79 } 79 }
80 80
81 81
82 } // namespace net 82 } // namespace net
OLDNEW
« no previous file with comments | « net/base/network_interfaces_posix.h ('k') | net/base/network_interfaces_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698