chromium/net/extras/sqlite/sqlite_persistent_store_backend_base.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "sqlite_persistent_store_backend_base.h"

#include <utility>

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/metrics/histogram_functions.h"
#include "base/task/sequenced_task_runner.h"
#include "base/time/time.h"
#include "base/timer/elapsed_timer.h"
#include "sql/database.h"
#include "sql/error_delegate_util.h"

#if BUILDFLAG(IS_WIN)
#include <windows.h>
#endif  // BUILDFLAG(IS_WIN)

namespace net {

SQLitePersistentStoreBackendBase::SQLitePersistentStoreBackendBase(
    const base::FilePath& path,
    const std::string& histogram_tag,
    const int current_version_number,
    const int compatible_version_number,
    scoped_refptr<base::SequencedTaskRunner> background_task_runner,
    scoped_refptr<base::SequencedTaskRunner> client_task_runner,
    bool enable_exclusive_access)
    :{}

SQLitePersistentStoreBackendBase::~SQLitePersistentStoreBackendBase() {}

void SQLitePersistentStoreBackendBase::Flush(base::OnceClosure callback) {}

void SQLitePersistentStoreBackendBase::Close() {}

void SQLitePersistentStoreBackendBase::SetBeforeCommitCallback(
    base::RepeatingClosure callback) {}

bool SQLitePersistentStoreBackendBase::InitializeDatabase() {}

bool SQLitePersistentStoreBackendBase::DoInitializeDatabase() {}

void SQLitePersistentStoreBackendBase::Reset() {}

void SQLitePersistentStoreBackendBase::Commit() {}

void SQLitePersistentStoreBackendBase::PostBackgroundTask(
    const base::Location& origin,
    base::OnceClosure task) {}

void SQLitePersistentStoreBackendBase::PostClientTask(
    const base::Location& origin,
    base::OnceClosure task) {}

bool SQLitePersistentStoreBackendBase::MigrateDatabaseSchema() {}

void SQLitePersistentStoreBackendBase::FlushAndNotifyInBackground(
    base::OnceClosure callback) {}

void SQLitePersistentStoreBackendBase::DoCloseInBackground() {}

void SQLitePersistentStoreBackendBase::DatabaseErrorCallback(
    int error,
    sql::Statement* stmt) {}

void SQLitePersistentStoreBackendBase::KillDatabase() {}

}  // namespace net