1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_SCHEME_CLASSIFIER_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_SCHEME_CLASSIFIER_H_
8 #include "base/macros.h"
9 #include "components/omnibox/browser/autocomplete_scheme_classifier.h"
13 // The subclass to provide chrome-specific scheme handling.
14 class ChromeAutocompleteSchemeClassifier
: public AutocompleteSchemeClassifier
{
16 explicit ChromeAutocompleteSchemeClassifier(Profile
* profile
);
17 ~ChromeAutocompleteSchemeClassifier() override
;
19 // AutocompleteInputSchemeChecker:
20 metrics::OmniboxInputType::Type
GetInputTypeForScheme(
21 const std::string
& scheme
) const override
;
26 DISALLOW_COPY_AND_ASSIGN(ChromeAutocompleteSchemeClassifier
);
29 #endif // CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_SCHEME_CLASSIFIER_H_