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

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

Issue 566243005: Cast: Allow extension to control wifi options on windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: posix fixed again Created 6 years, 3 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) 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/lifetime_interface.h"
13 #include "base/memory/scoped_ptr.h"
12 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/string_tokenizer.h" 15 #include "base/strings/string_tokenizer.h"
14 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
15 #include "base/threading/thread_restrictions.h" 17 #include "base/threading/thread_restrictions.h"
16 #include "net/base/escape.h" 18 #include "net/base/escape.h"
17 #include "net/base/ip_endpoint.h" 19 #include "net/base/ip_endpoint.h"
18 #include "net/base/net_errors.h" 20 #include "net/base/net_errors.h"
19 #include "url/gurl.h" 21 #include "url/gurl.h"
20 22
21 #if !defined(OS_ANDROID) && !defined(OS_NACL) 23 #if !defined(OS_ANDROID) && !defined(OS_NACL)
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 networks->push_back(network_infos[i].interface); 271 networks->push_back(network_infos[i].interface);
270 } 272 }
271 return true; 273 return true;
272 #endif 274 #endif
273 } 275 }
274 276
275 WifiPHYLayerProtocol GetWifiPHYLayerProtocol() { 277 WifiPHYLayerProtocol GetWifiPHYLayerProtocol() {
276 return WIFI_PHY_LAYER_PROTOCOL_UNKNOWN; 278 return WIFI_PHY_LAYER_PROTOCOL_UNKNOWN;
277 } 279 }
278 280
281 scoped_ptr<base::LifetimeInterface> SetWifiOptions(int options) {
282 return scoped_ptr<base::LifetimeInterface>();
283 }
284
285
279 } // namespace net 286 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698