| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |