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

Side by Side Diff: net/base/net_util.h

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) 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 #ifndef NET_BASE_NET_UTIL_H_ 5 #ifndef NET_BASE_NET_UTIL_H_
6 #define NET_BASE_NET_UTIL_H_ 6 #define NET_BASE_NET_UTIL_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 DSCP_AF41 = 34, // Video 515 DSCP_AF41 = 34, // Video
516 DSCP_AF42 = 36, // Video 516 DSCP_AF42 = 36, // Video
517 DSCP_AF43 = 38, // Video 517 DSCP_AF43 = 38, // Video
518 DSCP_CS5 = 40, // Video 518 DSCP_CS5 = 40, // Video
519 DSCP_EF = 46, // Voice 519 DSCP_EF = 46, // Voice
520 DSCP_CS6 = 48, // Voice 520 DSCP_CS6 = 48, // Voice
521 DSCP_CS7 = 56, // Control messages 521 DSCP_CS7 = 56, // Control messages
522 DSCP_LAST = DSCP_CS7 522 DSCP_LAST = DSCP_CS7
523 }; 523 };
524 524
525 // Returns the numeric name (MCC+MNC) of current registered operator.
526 NET_EXPORT std::string GetNetworkOperatorID();
bengr 2014/04/21 20:50:58 Why is this also declared in network_library.h?
bolian 2014/04/21 22:37:17 Removed. All moved.
527
525 } // namespace net 528 } // namespace net
526 529
527 #endif // NET_BASE_NET_UTIL_H_ 530 #endif // NET_BASE_NET_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698