// Copyright 2012 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_DATABASE_H_ #define COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_ #include <string> #include <vector> #include "components/history/core/browser/history_types.h" #include "url/origin.h" namespace sql { class Database; class Statement; } // namespace sql namespace history { // A visit database is one which stores visits for URLs, that is, times and // linking information. A visit database must also be a URLDatabase, as this // modifies tables used by URLs directly and could be thought of as inheriting // from URLDatabase. However, this inheritance is not explicit as things would // get too complicated and have multiple inheritance. class VisitDatabase { … }; // Columns, in order, of the visit table. #define HISTORY_VISIT_ROW_FIELDS … } // namespace history #endif // COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_