// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_HISTORY_CORE_BROWSER_VISIT_ANNOTATIONS_DATABASE_H_ #define COMPONENTS_HISTORY_CORE_BROWSER_VISIT_ANNOTATIONS_DATABASE_H_ #include <vector> #include "base/time/time.h" #include "components/history/core/browser/history_types.h" namespace sql { class Database; } // namespace sql namespace history { struct VisitContentAnnotations; // A database that stores visit content & context annotations. A // `VisitAnnotationsDatabase` must also be a `VisitDatabase`, as this joins with // the `visits` table. The `content_annotations` and `context_annotations` use // `visit_id` as their primary key; each row in the `visits` table will be // associated with 0 or 1 rows in each annotation table. class VisitAnnotationsDatabase { … }; } // namespace history #endif // COMPONENTS_HISTORY_CORE_BROWSER_VISIT_ANNOTATIONS_DATABASE_H_