Chromium Code Reviews| Index: net/android/x509_util.cc |
| diff --git a/net/android/x509_util.cc b/net/android/x509_util.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6e4bb55cd1b1a6129dd7480a52369bee050b86d9 |
| --- /dev/null |
| +++ b/net/android/x509_util.cc |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "net/android/x509_util.h" |
| + |
| +#include "jni/X509Util_jni.h" |
| +#include "net/cert/cert_database.h" |
| + |
| +namespace net { |
| + |
| +void NotifyCertDatabaseUpdated(JNIEnv* env, jclass clazz) { |
|
wtc
2013/10/16 15:37:34
This method isn't declared in net/android/x509_uti
qsr
2013/10/16 16:02:09
It is defined in jni/X509Util_jni.h
The signatur
|
| + CertDatabase::GetInstance()->NotifyObserversOfDatabaseUpdated(); |
| +} |
| + |
| +bool RegisterX509Util(JNIEnv* env) { |
| + return RegisterNativesImpl(env); |
| +} |
| + |
| +} // net namespace |