Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <iphlpapi.h> | 7 #include <iphlpapi.h> |
| 8 #include <wlanapi.h> | 8 #include <wlanapi.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 278 return WIFI_PHY_LAYER_PROTOCOL_B; | 278 return WIFI_PHY_LAYER_PROTOCOL_B; |
| 279 case dot11_phy_type_erp: | 279 case dot11_phy_type_erp: |
| 280 return WIFI_PHY_LAYER_PROTOCOL_G; | 280 return WIFI_PHY_LAYER_PROTOCOL_G; |
| 281 case dot11_phy_type_ht: | 281 case dot11_phy_type_ht: |
| 282 return WIFI_PHY_LAYER_PROTOCOL_N; | 282 return WIFI_PHY_LAYER_PROTOCOL_N; |
| 283 default: | 283 default: |
| 284 return WIFI_PHY_LAYER_PROTOCOL_UNKNOWN; | 284 return WIFI_PHY_LAYER_PROTOCOL_UNKNOWN; |
| 285 } | 285 } |
| 286 } | 286 } |
| 287 | 287 |
| 288 std::string GetNetworkOperatorID() { | |
| 289 return ""; | |
|
bengr
2014/04/21 20:50:58
Does it makes sense to have a separate return valu
bolian
2014/04/21 22:37:17
Android API returns the empty string if no network
| |
| 290 } | |
| 291 | |
| 288 } // namespace net | 292 } // namespace net |
| OLD | NEW |