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/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/memory/scoped_ptr.h" |
12 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
13 #include "base/strings/string_tokenizer.h" | 14 #include "base/strings/string_tokenizer.h" |
14 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
15 #include "base/threading/thread_restrictions.h" | 16 #include "base/threading/thread_restrictions.h" |
16 #include "net/base/escape.h" | 17 #include "net/base/escape.h" |
17 #include "net/base/ip_endpoint.h" | 18 #include "net/base/ip_endpoint.h" |
18 #include "net/base/net_errors.h" | 19 #include "net/base/net_errors.h" |
19 #include "url/gurl.h" | 20 #include "url/gurl.h" |
20 | 21 |
21 #if !defined(OS_ANDROID) && !defined(OS_NACL) | 22 #if !defined(OS_ANDROID) && !defined(OS_NACL) |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 networks->push_back(network_infos[i].interface); | 270 networks->push_back(network_infos[i].interface); |
270 } | 271 } |
271 return true; | 272 return true; |
272 #endif | 273 #endif |
273 } | 274 } |
274 | 275 |
275 WifiPHYLayerProtocol GetWifiPHYLayerProtocol() { | 276 WifiPHYLayerProtocol GetWifiPHYLayerProtocol() { |
276 return WIFI_PHY_LAYER_PROTOCOL_UNKNOWN; | 277 return WIFI_PHY_LAYER_PROTOCOL_UNKNOWN; |
277 } | 278 } |
278 | 279 |
| 280 scoped_ptr<ScopedWifiOptions> SetWifiOptions(int options) { |
| 281 return scoped_ptr<ScopedWifiOptions>(); |
| 282 } |
| 283 |
| 284 |
279 } // namespace net | 285 } // namespace net |
OLD | NEW |