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
5116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#ifndef CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_SCHEME_CLASSIFIER_H_
6116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#define CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_SCHEME_CLASSIFIER_H_
7116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
8116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#include "base/macros.h"
95f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#include "components/omnibox/autocomplete_scheme_classifier.h"
10116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
11116680a4aac90f2aa7413d9095a592090648e557Ben Murdochclass Profile;
12116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
13116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// The subclass to provide chrome-specific scheme handling.
14116680a4aac90f2aa7413d9095a592090648e557Ben Murdochclass ChromeAutocompleteSchemeClassifier : public AutocompleteSchemeClassifier {
15116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch public:
16116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  explicit ChromeAutocompleteSchemeClassifier(Profile* profile);
17116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  virtual ~ChromeAutocompleteSchemeClassifier();
18116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
19116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  // AutocompleteInputSchemeChecker:
20116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  virtual metrics::OmniboxInputType::Type GetInputTypeForScheme(
21116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch      const std::string& scheme) const OVERRIDE;
22116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
23116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch private:
24116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  Profile* profile_;
25116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
26116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  DISALLOW_COPY_AND_ASSIGN(ChromeAutocompleteSchemeClassifier);
27116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch};
28116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
29116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#endif  // CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_SCHEME_CLASSIFIER_H_
30