Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1719)

Unified Diff: chrome/browser/autocomplete/search_provider.h

Issue 319523005: Omnibox: Combine Two Input Type Enums into One (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove blank line Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autocomplete/search_provider.h
diff --git a/chrome/browser/autocomplete/search_provider.h b/chrome/browser/autocomplete/search_provider.h
index e2be361d92b8ab0893cb0641e14223eb98a24fb9..d2e5dd7a5bf08165ccc54374b13793ff7dd865d6 100644
--- a/chrome/browser/autocomplete/search_provider.h
+++ b/chrome/browser/autocomplete/search_provider.h
@@ -19,6 +19,7 @@
#include "chrome/browser/autocomplete/base_search_provider.h"
#include "chrome/browser/history/history_types.h"
#include "chrome/browser/search_engines/template_url.h"
+#include "components/metrics/proto/omnibox_input_type.pb.h"
class Profile;
class SearchProviderTest;
@@ -137,8 +138,8 @@ class SearchProvider : public BaseSearchProvider {
// Calculates the relevance score for the keyword verbatim result (if the
// input matches one of the profile's keyword).
- static int CalculateRelevanceForKeywordVerbatim(AutocompleteInput::Type type,
- bool prefer_keyword);
+ static int CalculateRelevanceForKeywordVerbatim(
+ metrics::OmniboxInputType::Type type, bool prefer_keyword);
Ilya Sherman 2014/06/06 05:01:01 nit: In header files, params should always be one
Mark P 2014/06/06 20:22:51 Done.
// AutocompleteProvider:
virtual void Start(const AutocompleteInput& input,

Powered by Google App Engine
This is Rietveld 408576698