1116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// Copyright 2014 The Chromium Authors. All rights reserved.
2116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// Use of this source code is governed by a BSD-style license that can be
3116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// found in the LICENSE file.
4116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
55f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#ifndef COMPONENTS_OMNIBOX_TEST_SCHEME_CLASSIFIER_H_
65f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#define COMPONENTS_OMNIBOX_TEST_SCHEME_CLASSIFIER_H_
7116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
8116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#include "base/macros.h"
95f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#include "components/omnibox/autocomplete_scheme_classifier.h"
10116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
11116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// The subclass of AutocompleteSchemeClassifier for testing.
12116680a4aac90f2aa7413d9095a592090648e557Ben Murdochclass TestSchemeClassifier : public AutocompleteSchemeClassifier {
13116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch public:
14116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  TestSchemeClassifier();
15116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  virtual ~TestSchemeClassifier();
16116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
17116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  // Overridden from AutocompleteInputSchemeChecker:
18116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  virtual metrics::OmniboxInputType::Type GetInputTypeForScheme(
19116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch      const std::string& scheme) const OVERRIDE;
20116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
21116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch private:
22116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  DISALLOW_COPY_AND_ASSIGN(TestSchemeClassifier);
23116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch};
24116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
255f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#endif  // COMPONENTS_OMNIBOX_TEST_SCHEME_CLASSIFIER_H_
26