| Index: net/android/network_library.cc
|
| diff --git a/net/android/network_library.cc b/net/android/network_library.cc
|
| index eb2376e77e90fb2b0edc57ed1195a3dcd6cb1e72..efe5bd5be5dd96228d00ee4b8ff9ee758deae415 100644
|
| --- a/net/android/network_library.cc
|
| +++ b/net/android/network_library.cc
|
| @@ -143,6 +143,13 @@ bool GetIsRoaming() {
|
| base::android::GetApplicationContext());
|
| }
|
|
|
| +std::string GetCurrentWifiConnectionSsid() {
|
| + return base::android::ConvertJavaStringToUTF8(
|
| + Java_AndroidNetworkLibrary_getCurrentWifiConnectionSsid(
|
| + base::android::AttachCurrentThread(),
|
| + base::android::GetApplicationContext()));
|
| +}
|
| +
|
| bool RegisterNetworkLibrary(JNIEnv* env) {
|
| return RegisterNativesImpl(env);
|
| }
|
|
|