| 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..9f3491fcc2c5490735911ad050aa35850b65f7fd
|
| --- /dev/null
|
| +++ b/net/android/x509_util.cc
|
| @@ -0,0 +1,25 @@
|
| +// 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 "base/android/jni_android.h"
|
| +#include "jni/X509Util_jni.h"
|
| +#include "net/cert/cert_database.h"
|
| +
|
| +namespace net {
|
| +
|
| +void NotifyKeyChainChanged(JNIEnv* env, jclass clazz) {
|
| + CertDatabase::GetInstance()->OnAndroidKeyChainChanged();
|
| +}
|
| +
|
| +jobject GetApplicationContext(JNIEnv* env, jclass clazz) {
|
| + return base::android::GetApplicationContext();
|
| +}
|
| +
|
| +bool RegisterX509Util(JNIEnv* env) {
|
| + return RegisterNativesImpl(env);
|
| +}
|
| +
|
| +} // net namespace
|
|
|