| Index: net/android/network_library.cc
|
| diff --git a/net/android/network_library.cc b/net/android/network_library.cc
|
| index 54847e08df0b3ad1e2ae1b27b55dcc0cfeb4bef7..939319cd0b2dcf624bdde5674551a12ea65406be 100644
|
| --- a/net/android/network_library.cc
|
| +++ b/net/android/network_library.cc
|
| @@ -79,22 +79,6 @@ bool StoreKeyPair(const uint8_t* public_key,
|
| return ret;
|
| }
|
|
|
| -void StoreCertificate(net::CertificateMimeType cert_type,
|
| - const void* data,
|
| - size_t data_len) {
|
| - JNIEnv* env = AttachCurrentThread();
|
| - ScopedJavaLocalRef<jbyteArray> data_array =
|
| - ToJavaByteArray(env, reinterpret_cast<const uint8_t*>(data), data_len);
|
| - jboolean ret = Java_AndroidNetworkLibrary_storeCertificate(
|
| - env, GetApplicationContext(), cert_type, data_array);
|
| - LOG_IF(WARNING, !ret) <<
|
| - "Call to Java_AndroidNetworkLibrary_storeCertificate"
|
| - " failed";
|
| - // Intentionally do not return 'ret', there is little the caller can
|
| - // do in case of failure (the CertInstaller itself will deal with
|
| - // incorrect data and display the appropriate toast).
|
| -}
|
| -
|
| bool HaveOnlyLoopbackAddresses() {
|
| JNIEnv* env = AttachCurrentThread();
|
| return Java_AndroidNetworkLibrary_haveOnlyLoopbackAddresses(env);
|
|
|