chromium/components/omnibox/browser/autocomplete_provider.cc

// 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.

#include "components/omnibox/browser/autocomplete_provider.h"

#include <algorithm>
#include <string>

#include "base/notreached.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/trace_event/memory_usage_estimator.h"
#include "components/bookmarks/browser/bookmark_utils.h"
#include "components/omnibox/browser/autocomplete_i18n.h"
#include "components/omnibox/browser/autocomplete_input.h"
#include "components/omnibox/browser/autocomplete_match.h"
#include "components/omnibox/browser/autocomplete_match_classification.h"
#include "components/omnibox/browser/autocomplete_provider_listener.h"
#include "components/omnibox/browser/history_provider.h"
#include "components/omnibox/browser/omnibox_field_trial.h"
#include "components/url_formatter/url_fixer.h"
#include "url/gurl.h"

AutocompleteProvider::AutocompleteProvider(Type type)
    :{}

// static
const char* AutocompleteProvider::TypeToString(Type type) {}

void AutocompleteProvider::AddListener(AutocompleteProviderListener* listener) {}

void AutocompleteProvider::NotifyListeners(bool updated_matches) const {}

void AutocompleteProvider::StartPrefetch(const AutocompleteInput& input) {}

void AutocompleteProvider::Stop(bool clear_cached_results,
                                bool due_to_user_inactivity) {}

const char* AutocompleteProvider::GetName() const {}

metrics::OmniboxEventProto_ProviderType
AutocompleteProvider::AsOmniboxEventProviderType() const {}

void AutocompleteProvider::DeleteMatch(const AutocompleteMatch& match) {}

void AutocompleteProvider::DeleteMatchElement(const AutocompleteMatch& match,
                                              size_t element_index) {}

void AutocompleteProvider::AddProviderInfo(ProvidersInfo* provider_info) const {}

size_t AutocompleteProvider::EstimateMemoryUsage() const {}

AutocompleteProvider::~AutocompleteProvider() {}

// static
AutocompleteProvider::FixupReturn AutocompleteProvider::FixupUserInput(
    const AutocompleteInput& input) {}

// static
size_t AutocompleteProvider::TrimSchemePrefix(std::u16string* url,
                                              bool trim_https) {}

void AutocompleteProvider::ResizeMatches(size_t max_matches,
                                         bool ml_scoring_enabled) {}