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

Unified Diff: chrome/browser/search_engines/template_url.cc

Issue 343523003: Remove AutocompleteInput Type and PageClassification. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/search_engines/template_url.cc
diff --git a/chrome/browser/search_engines/template_url.cc b/chrome/browser/search_engines/template_url.cc
index f54b5ecbea5804ebaf7c0c9e270440fc4faa57e7..55b75f10dc68306e2e6d7305081d37b4539a6fd6 100644
--- a/chrome/browser/search_engines/template_url.cc
+++ b/chrome/browser/search_engines/template_url.cc
@@ -207,7 +207,7 @@ TemplateURLRef::SearchTermsArgs::SearchTermsArgs(
accepted_suggestion(NO_SUGGESTIONS_AVAILABLE),
cursor_position(base::string16::npos),
omnibox_start_margin(-1),
- page_classification(AutocompleteInput::INVALID_SPEC),
+ page_classification(metrics::OmniboxEventProto::INVALID_SPEC),
bookmark_bar_pinned(false),
append_extra_query_params(false),
force_instant_results(false),
@@ -1010,7 +1010,7 @@ std::string TemplateURLRef::HandleReplacements(
case GOOGLE_PAGE_CLASSIFICATION:
if (search_terms_args.page_classification !=
- AutocompleteInput::INVALID_SPEC) {
+ metrics::OmniboxEventProto::INVALID_SPEC) {
HandleReplacement(
"pgcl", base::IntToString(search_terms_args.page_classification),
*i, &url);
« no previous file with comments | « chrome/browser/search_engines/template_url.h ('k') | chrome/browser/search_engines/template_url_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698