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" |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 networks->push_back(network_infos[i].interface); | 231 networks->push_back(network_infos[i].interface); |
232 } | 232 } |
233 return true; | 233 return true; |
234 #endif | 234 #endif |
235 } | 235 } |
236 | 236 |
237 WifiPHYLayerProtocol GetWifiPHYLayerProtocol() { | 237 WifiPHYLayerProtocol GetWifiPHYLayerProtocol() { |
238 return WIFI_PHY_LAYER_PROTOCOL_UNKNOWN; | 238 return WIFI_PHY_LAYER_PROTOCOL_UNKNOWN; |
239 } | 239 } |
240 | 240 |
| 241 std::string GetNetworkOperatorID() { |
| 242 #if defined(OS_ANDROID) |
| 243 return android::GetNetworkOperatorID(); |
| 244 #else |
| 245 return ""; |
| 246 #endif |
| 247 } |
| 248 |
241 } // namespace net | 249 } // namespace net |
OLD | NEW |