Index: net/android/network_library.h |
diff --git a/net/android/network_library.h b/net/android/network_library.h |
index 5d4d73d5b55db0e422493cd43fc188d8534956fc..ba2bfb5eb355354faea8b16758e36f6e83ea256a 100644 |
--- a/net/android/network_library.h |
+++ b/net/android/network_library.h |
@@ -71,6 +71,14 @@ std::string GetNetworkList(); |
bool GetMimeTypeFromExtension(const std::string& extension, |
std::string* result); |
+// Returns the ISO country code equivalent of the current MCC (mobile country |
+// code). |
+NET_EXPORT std::string GetTelephonyNetworkCountryIso(); |
+ |
+// Returns MCC+MNC (mobile country code + mobile network code) as |
+// the numeric name of the current registered operator. |
+NET_EXPORT std::string GetTelephonyNetworkOperator(); |
+ |
// Register JNI methods |
NET_EXPORT bool RegisterNetworkLibrary(JNIEnv* env); |