#include "components/omnibox/browser/zero_suggest_verbatim_match_provider.h"
#include <string>
#include "base/strings/escape.h"
#include "components/history/core/browser/history_service.h"
#include "components/history/core/browser/history_types.h"
#include "components/history/core/browser/url_database.h"
#include "components/history/core/browser/url_row.h"
#include "components/omnibox/browser/autocomplete_match_classification.h"
#include "components/omnibox/browser/autocomplete_provider_client.h"
#include "components/omnibox/browser/autocomplete_provider_listener.h"
#include "components/omnibox/browser/verbatim_match.h"
#include "components/omnibox/common/omnibox_features.h"
#include "components/search_engines/template_url_service.h"
#include "components/url_formatter/url_formatter.h"
namespace …
ZeroSuggestVerbatimMatchProvider::ZeroSuggestVerbatimMatchProvider(
AutocompleteProviderClient* client)
: … { … }
ZeroSuggestVerbatimMatchProvider::~ZeroSuggestVerbatimMatchProvider() = default;
void ZeroSuggestVerbatimMatchProvider::Start(const AutocompleteInput& input,
bool minimal_changes) { … }
void ZeroSuggestVerbatimMatchProvider::Stop(bool clear_cached_results,
bool due_to_user_inactivity) { … }
void ZeroSuggestVerbatimMatchProvider::OnPageTitleRetrieved(
const AutocompleteInput& input,
history::QueryURLResult result) { … }
void ZeroSuggestVerbatimMatchProvider::CreateVerbatimMatch(
const AutocompleteInput& input,
std::u16string page_title) { … }