// Copyright 2014 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_KEYWORD_SEARCH_TERM_H_ #define COMPONENTS_HISTORY_CORE_BROWSER_KEYWORD_SEARCH_TERM_H_ #include <optional> #include <string> #include "base/time/time.h" #include "components/history/core/browser/keyword_id.h" #include "components/history/core/browser/url_row.h" #include "sql/statement.h" namespace history { // Represents one or more visits to a keyword search term. It contains the // search term and the normalized search term in addition to the visit count and // the last visit time. An optional frecency score may be provided by the // utility functions/helpers in keyword_search_term_util.h where applicable. struct KeywordSearchTermVisit { … }; // Used for URLs that have a search term associated with them. struct KeywordSearchTermRow { … }; // KeywordSearchTermVisitEnumerator -------------------------------------------- // A basic enumerator to enumerate keyword search term visits. May be created // and initialized by URLDatabase only. class KeywordSearchTermVisitEnumerator { … }; } // namespace history #endif // COMPONENTS_HISTORY_CORE_BROWSER_KEYWORD_SEARCH_TERM_H_