OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_SCHEME_CLASSIFIER_H_ | |
6 #define ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_SCHEME_CLASSIFIER_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "components/omnibox/autocomplete_scheme_classifier.h" | |
10 | |
11 namespace athena { | |
12 | |
13 // The AutocompleteSchemeClassifier implementation for athena_main. | |
14 class AthenaShellSchemeClassifier : public AutocompleteSchemeClassifier { | |
15 public: | |
16 AthenaShellSchemeClassifier(); | |
17 ~AthenaShellSchemeClassifier() override; | |
18 | |
19 // AutocompleteSchemeClassifier: | |
20 metrics::OmniboxInputType::Type GetInputTypeForScheme( | |
21 const std::string& scheme) const override; | |
22 | |
23 private: | |
24 DISALLOW_COPY_AND_ASSIGN(AthenaShellSchemeClassifier); | |
25 }; | |
26 | |
27 } // namespace athena | |
28 | |
29 #endif // ATHENA_EXTENSIONS_SHELL_ATHENA_SHELL_SCHEME_CLASSIFIER_H_ | |
OLD | NEW |