chromium/components/user_annotations/user_annotations_database.cc

// Copyright 2024 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/user_annotations/user_annotations_database.h"

#include "base/files/file_path.h"
#include "base/metrics/histogram_functions.h"
#include "base/sequence_checker.h"
#include "build/build_config.h"
#include "components/user_annotations/user_annotations_features.h"
#include "sql/init_status.h"
#include "sql/meta_table.h"
#include "sql/statement.h"
#include "sql/transaction.h"

namespace user_annotations {

inline constexpr base::FilePath::CharType kUserAnnotationsName[] =);

// These database versions should roll together unless we develop migrations.
constexpr int kLowestSupportedDatabaseVersion =;
constexpr int kCurrentDatabaseVersion =;

namespace {

[[nodiscard]] bool CreateTable(sql::Database& db) {}

}  // namespace

UserAnnotationsDatabase::UserAnnotationsDatabase(
    const base::FilePath& storage_dir) {}

UserAnnotationsDatabase::~UserAnnotationsDatabase() = default;

sql::InitStatus UserAnnotationsDatabase::InitInternal(
    const base::FilePath& storage_dir) {}

bool UserAnnotationsDatabase::UpdateEntries(
    const std::vector<optimization_guide::proto::UserAnnotationsEntry>&
        entries) {}

std::vector<optimization_guide::proto::UserAnnotationsEntry>
UserAnnotationsDatabase::RetrieveAllEntries() {}

}  // namespace user_annotations