Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / browser / autocomplete / chrome_autocomplete_scheme_classifier.h
bloba2f6496130712e3b5dfdda97bfc4dc634a003d40
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/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_