mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
28 lines
681 B
C++
28 lines
681 B
C++
// Copyright (c) 2012 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/cert/cert_database.h"
|
|
|
|
#include "base/logging.h"
|
|
#include "base/observer_list_threadsafe.h"
|
|
#include "net/base/net_errors.h"
|
|
|
|
namespace net {
|
|
|
|
CertDatabase::CertDatabase()
|
|
: observer_list_(new base::ObserverListThreadSafe<Observer>) {
|
|
}
|
|
|
|
CertDatabase::~CertDatabase() {}
|
|
|
|
void CertDatabase::OnAndroidKeyStoreChanged() {
|
|
NotifyObserversCertDBChanged();
|
|
}
|
|
|
|
void CertDatabase::OnAndroidKeyChainChanged() {
|
|
observer_list_->Notify(FROM_HERE, &Observer::OnCertDBChanged);
|
|
}
|
|
|
|
} // namespace net
|