• 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 
7 // Must come after all headers that specialize FromJniType() / ToJniType().
8 #include "net/net_jni_headers/X509Util_jni.h"
9 
10 using jni_zero::JavaParamRef;
11 
12 namespace net {
13 
JNI_X509Util_NotifyTrustStoreChanged(JNIEnv * env)14 void JNI_X509Util_NotifyTrustStoreChanged(JNIEnv* env) {
15   CertDatabase::GetInstance()->NotifyObserversTrustStoreChanged();
16 }
17 
JNI_X509Util_NotifyClientCertStoreChanged(JNIEnv * env)18 void JNI_X509Util_NotifyClientCertStoreChanged(JNIEnv* env) {
19   CertDatabase::GetInstance()->NotifyObserversClientCertStoreChanged();
20 }
21 
22 }  // namespace net
23