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