blob: 5bb0cbce9a8eb5180b6fbfe48f54e57285d3f4ef [file] [log] [blame]
// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/webdata/common/web_database_table.h"
WebDatabaseTable::WebDatabaseTable() : db_(nullptr), meta_table_(nullptr) {}
WebDatabaseTable::~WebDatabaseTable() {}
void WebDatabaseTable::Init(sql::Database* db,
sql::MetaTable* meta_table,
const os_crypt_async::Encryptor* encryptor) {
db_ = db;
meta_table_ = meta_table;
encryptor_ = encryptor;
}
void WebDatabaseTable::Shutdown() {
db_ = nullptr;
meta_table_ = nullptr;
encryptor_ = nullptr;
}