#include "components/omnibox/browser/builtin_provider.h"
#include <stddef.h>
#include <string>
#include "base/strings/strcat.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.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_client.h"
#include "components/url_formatter/url_fixer.h"
#include "third_party/metrics_proto/omnibox_focus_type.pb.h"
#include "third_party/metrics_proto/omnibox_input_type.pb.h"
#include "url/url_constants.h"
const int BuiltinProvider::kRelevance = …;
BuiltinProvider::BuiltinProvider(AutocompleteProviderClient* client)
: … { … }
void BuiltinProvider::Start(const AutocompleteInput& input,
bool minimal_changes) { … }
BuiltinProvider::~BuiltinProvider() = default;
void BuiltinProvider::DoBuiltinAutocompletion(const std::u16string& text) { … }
void BuiltinProvider::UpdateRelevanceScores(const AutocompleteInput& input) { … }
void BuiltinProvider::AddBuiltinMatch(const std::u16string& match_string,
const std::u16string& inline_completion,
const ACMatchClassifications& styles) { … }
bool BuiltinProvider::HasMatchThatShouldBeDefault(size_t* index) const { … }