#include "components/omnibox/browser/autocomplete_classifier.h"
#include <utility>
#include "base/auto_reset.h"
#include "base/feature_list.h"
#include "base/strings/utf_string_conversions.h"
#include "base/trace_event/trace_event.h"
#include "build/build_config.h"
#include "components/history_embeddings/history_embeddings_features.h"
#include "components/omnibox/browser/autocomplete_controller.h"
#include "components/omnibox/browser/autocomplete_input.h"
#include "components/omnibox/browser/autocomplete_match.h"
#include "components/omnibox/browser/autocomplete_provider.h"
#include "components/omnibox/browser/omnibox_field_trial.h"
#include "components/omnibox/common/omnibox_features.h"
#include "third_party/metrics_proto/omnibox_event.pb.h"
#include "url/gurl.h"
#if !BUILDFLAG(IS_IOS)
#include "components/history_clusters/core/config.h"
#endif
AutocompleteClassifier::AutocompleteClassifier(
std::unique_ptr<AutocompleteController> controller,
std::unique_ptr<AutocompleteSchemeClassifier> scheme_classifier)
: … { … }
AutocompleteClassifier::~AutocompleteClassifier() { … }
void AutocompleteClassifier::Shutdown() { … }
int AutocompleteClassifier::DefaultOmniboxProviders(bool is_low_memory_device) { … }
void AutocompleteClassifier::Classify(
const std::u16string& text,
bool prefer_keyword,
bool allow_exact_keyword_match,
metrics::OmniboxEventProto::PageClassification page_classification,
AutocompleteMatch* match,
GURL* alternate_nav_url) { … }