Content settings: remove some plugin-related code/resources when... there are no...
[chromium-blink-merge.git] / components / omnibox / browser / test_scheme_classifier.h
blob6fdc4e55d6981a54a4aad7cadbd692abcd338438
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 COMPONENTS_OMNIBOX_BROWSER_TEST_SCHEME_CLASSIFIER_H_
6 #define COMPONENTS_OMNIBOX_BROWSER_TEST_SCHEME_CLASSIFIER_H_
8 #include "base/macros.h"
9 #include "components/omnibox/browser/autocomplete_scheme_classifier.h"
11 // The subclass of AutocompleteSchemeClassifier for testing.
12 class TestSchemeClassifier : public AutocompleteSchemeClassifier {
13 public:
14 TestSchemeClassifier();
15 ~TestSchemeClassifier() override;
17 // Overridden from AutocompleteInputSchemeChecker:
18 metrics::OmniboxInputType::Type GetInputTypeForScheme(
19 const std::string& scheme) const override;
21 private:
22 DISALLOW_COPY_AND_ASSIGN(TestSchemeClassifier);
25 #endif // COMPONENTS_OMNIBOX_BROWSER_TEST_SCHEME_CLASSIFIER_H_