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

Unified Diff: content/common/android/device_telephony_info.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/common/android/device_telephony_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/android/device_telephony_info.h
diff --git a/content/common/android/device_telephony_info.h b/content/common/android/device_telephony_info.h
index 84922d010ad52d92cd48d0b99983b02901e8f266..58ff03e8892fec0fe23a5dd1686bdb71ce3ad43f 100644
--- a/content/common/android/device_telephony_info.h
+++ b/content/common/android/device_telephony_info.h
@@ -23,6 +23,10 @@ class DeviceTelephonyInfo {
// Returns the ISO country code equivalent of the current MCC.
std::string GetNetworkCountryIso();
+ // Returns MCC+MNC (mobile country code + mobile network code) as
+ // the numeric name of the current registered operator.
+ std::string GetNetworkOperator();
+
// Registers methods with JNI and returns true if succeeded.
static bool RegisterDeviceTelephonyInfo(JNIEnv* env);
« no previous file with comments | « no previous file | content/common/android/device_telephony_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698