Chromium Code Reviews| Index: net/android/network_library.cc |
| diff --git a/net/android/network_library.cc b/net/android/network_library.cc |
| index 24a065e425c00afb40012d87bcc6f56fd94a4fd1..db8f05296214f6b0d569dd982566b20a8200e1b6 100644 |
| --- a/net/android/network_library.cc |
| +++ b/net/android/network_library.cc |
| @@ -10,6 +10,7 @@ |
| #include "base/android/scoped_java_ref.h" |
| #include "base/logging.h" |
| #include "jni/android_network_library_jni.h" |
| +#include "net/proxy/proxy_config_service_android.h" |
| using base::android::AttachCurrentThread; |
| using base::android::ClearException; |
| @@ -83,7 +84,8 @@ bool GetMimeTypeFromExtension(const std::string& extension, |
| } |
| bool RegisterNetworkLibrary(JNIEnv* env) { |
| - return RegisterNativesImpl(env); |
| + return RegisterNativesImpl(env) && |
| + ProxyConfigServiceAndroid::Init(env); |
|
Yaron
2012/05/07 19:15:30
So instead of doing this, you can add your registe
Philippe
2012/05/09 11:48:40
I didn't forget you Yaron :) I uploaded a new patc
|
| } |
| } // namespace android |