summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/search_provider.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-13 00:19:00 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-13 00:19:00 +0000
commit4c1fb7ec9e85150afcbc7f3e0c2cbe788e31e9de (patch)
tree114c7194a922ef8c6dfdea7ebbc38f41abf8588a /chrome/browser/autocomplete/search_provider.h
parentd7cbf44926f66dde008ef8a6b8141ec8a774692c (diff)
downloadchromium_src-4c1fb7ec9e85150afcbc7f3e0c2cbe788e31e9de.zip
chromium_src-4c1fb7ec9e85150afcbc7f3e0c2cbe788e31e9de.tar.gz
chromium_src-4c1fb7ec9e85150afcbc7f3e0c2cbe788e31e9de.tar.bz2
Omnibox metrics logging patch splitout, part 5: Add additional AutocompleteMatch types, and pass a type to the AutocompleteMatch constructor. The added detail in the new types is not used for anything functional; its sole purpose is for metric logging. Someday we could probably update other bits of the code to make use of this, though (e.g. the paste-and-search vs. paste-and-go determinant code).
These are separable changes, but doing either one without the other would have required an annoying number of fragile temporary changes. Review URL: http://codereview.chromium.org/10855 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5329 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/search_provider.h')
-rw-r--r--chrome/browser/autocomplete/search_provider.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/search_provider.h b/chrome/browser/autocomplete/search_provider.h
index e6030dc..07eb8c8 100644
--- a/chrome/browser/autocomplete/search_provider.h
+++ b/chrome/browser/autocomplete/search_provider.h
@@ -128,6 +128,7 @@ class SearchProvider : public AutocompleteProvider,
// exists, whichever one has lower relevance is eliminated.
void AddMatchToMap(const std::wstring& query_string,
int relevance,
+ AutocompleteMatch::Type type,
int accepted_suggestion,
MatchMap* map);
// Returns an AutocompleteMatch for a navigational suggestion.