1 // Copyright 2015 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_VERBATIM_MATCH_H_
6 #define COMPONENTS_OMNIBOX_BROWSER_VERBATIM_MATCH_H_
8 #include "base/strings/string16.h"
9 #include "components/metrics/proto/omnibox_event.pb.h"
11 struct AutocompleteMatch
;
12 class AutocompleteProviderClient
;
14 // Returns a verbatim match for |input_text| with |classification| and a
15 // relevance of |verbatim_relevance|. If |verbatim_relevance| is negative
16 // then a default value is used.
17 AutocompleteMatch
VerbatimMatchForURL(
18 AutocompleteProviderClient
* client
,
19 const base::string16
& input_text
,
20 metrics::OmniboxEventProto::PageClassification classification
,
21 int verbatim_relevance
);
23 #endif // COMPONENTS_OMNIBOX_BROWSER_VERBATIM_MATCH_H_