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

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

Issue 238793007: Added GetNetworkOperatorID util func in net/base/net_util and a non-trivial implementation for Andr… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 8 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"
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698