BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / autocomplete / chrome_autocomplete_scheme_classifier.h
blobbb381b69be780bc430cbd0864f76c0f18bbf3e84
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"
11 class Profile;
13 // The subclass to provide chrome-specific scheme handling.
14 class ChromeAutocompleteSchemeClassifier : public AutocompleteSchemeClassifier {
15 public:
16 explicit ChromeAutocompleteSchemeClassifier(Profile* profile);
17 ~ChromeAutocompleteSchemeClassifier() override;
19 // AutocompleteInputSchemeChecker:
20 metrics::OmniboxInputType::Type GetInputTypeForScheme(
21 const std::string& scheme) const override;
23 private:
24 Profile* profile_;
26 DISALLOW_COPY_AND_ASSIGN(ChromeAutocompleteSchemeClassifier);
29 #endif // CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_SCHEME_CLASSIFIER_H_