Searched refs:DatabaseImpl (Results 1 – 5 of 5) sorted by relevance
50 DatabaseImpl::DatabaseImpl(CryptoUtility* crypto) in DatabaseImpl() function in attestation::DatabaseImpl53 DatabaseImpl::~DatabaseImpl() { in ~DatabaseImpl()58 void DatabaseImpl::Initialize() { in Initialize()62 io_->Watch(base::Bind(base::IgnoreResult(&DatabaseImpl::Reload), in Initialize()69 const AttestationDatabase& DatabaseImpl::GetProtobuf() const { in GetProtobuf()74 AttestationDatabase* DatabaseImpl::GetMutableProtobuf() { in GetMutableProtobuf()79 bool DatabaseImpl::SaveChanges() { in SaveChanges()88 bool DatabaseImpl::Reload() { in Reload()98 bool DatabaseImpl::Read(std::string* data) { in Read()114 bool DatabaseImpl::Write(const std::string& data) { in Write()[all …]
45 class DatabaseImpl : public Database, public DatabaseIO {48 explicit DatabaseImpl(CryptoUtility* crypto);49 ~DatabaseImpl() override;
44 database_.reset(new DatabaseImpl(&mock_crypto_utility_)); in SetUp()84 std::unique_ptr<DatabaseImpl> database_;
284 std::unique_ptr<DatabaseImpl> default_database_;
66 default_database_.reset(new DatabaseImpl(crypto_utility_)); in Initialize()68 FROM_HERE, base::Bind(&DatabaseImpl::Initialize, in Initialize()