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" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 } | 56 } |
57 return false; | 57 return false; |
58 } | 58 } |
59 | 59 |
60 } // namespace internal | 60 } // namespace internal |
61 #else // OS_NACL | 61 #else // OS_NACL |
62 bool GetNetworkList(NetworkInterfaceList* networks, int policy) { | 62 bool GetNetworkList(NetworkInterfaceList* networks, int policy) { |
63 NOTIMPLEMENTED(); | 63 NOTIMPLEMENTED(); |
64 return false; | 64 return false; |
65 } | 65 } |
| 66 |
| 67 std::string GetWifiSSID() { |
| 68 NOTIMPLEMENTED(); |
| 69 return ""; |
| 70 } |
66 #endif // OS_NACL | 71 #endif // OS_NACL |
67 | 72 |
68 WifiPHYLayerProtocol GetWifiPHYLayerProtocol() { | 73 WifiPHYLayerProtocol GetWifiPHYLayerProtocol() { |
69 return WIFI_PHY_LAYER_PROTOCOL_UNKNOWN; | 74 return WIFI_PHY_LAYER_PROTOCOL_UNKNOWN; |
70 } | 75 } |
71 | 76 |
72 scoped_ptr<ScopedWifiOptions> SetWifiOptions(int options) { | 77 scoped_ptr<ScopedWifiOptions> SetWifiOptions(int options) { |
73 return scoped_ptr<ScopedWifiOptions>(); | 78 return scoped_ptr<ScopedWifiOptions>(); |
74 } | 79 } |
75 | 80 |
76 | 81 |
77 } // namespace net | 82 } // namespace net |
OLD | NEW |