• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2013 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "net/cert/cert_database.h"
6 #include "net/net_jni_headers/X509Util_jni.h"
7 
8 using base::android::JavaParamRef;
9 
10 namespace net {
11 
JNI_X509Util_NotifyTrustStoreChanged(JNIEnv * env)12 void JNI_X509Util_NotifyTrustStoreChanged(JNIEnv* env) {
13   CertDatabase::GetInstance()->NotifyObserversTrustStoreChanged();
14 }
15 
JNI_X509Util_NotifyClientCertStoreChanged(JNIEnv * env)16 void JNI_X509Util_NotifyClientCertStoreChanged(JNIEnv* env) {
17   CertDatabase::GetInstance()->NotifyObserversClientCertStoreChanged();
18 }
19 
20 }  // namespace net
21