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

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

Issue 23621037: Send URLs on non-zero prefix suggest requests also. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 7 years, 1 month 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.h
diff --git a/chrome/browser/search_engines/template_url.h b/chrome/browser/search_engines/template_url.h
index ff9539721d3bbdda711f10fb10ce974a8535d820..fc8a0540cbc13201f58e221cb46ffd297ff160ad 100644
--- a/chrome/browser/search_engines/template_url.h
+++ b/chrome/browser/search_engines/template_url.h
@@ -97,7 +97,7 @@ class TemplateURLRef {
// The URL of the current webpage to be used for experimental zero-prefix
// suggestions.
- std::string zero_prefix_url;
+ std::string current_page_url;
// Which omnibox the user used to type the prefix.
AutocompleteInput::PageClassification page_classification;
@@ -253,6 +253,7 @@ class TemplateURLRef {
GOOGLE_BASE_URL,
GOOGLE_BASE_SUGGEST_URL,
GOOGLE_BOOKMARK_BAR_PINNED,
+ GOOGLE_CURRENT_PAGE_URL,
GOOGLE_CURSOR_POSITION,
GOOGLE_IMAGE_ORIGINAL_HEIGHT,
GOOGLE_IMAGE_ORIGINAL_WIDTH,
@@ -270,7 +271,6 @@ class TemplateURLRef {
GOOGLE_SEARCH_FIELDTRIAL_GROUP,
GOOGLE_SUGGEST_CLIENT,
GOOGLE_UNESCAPED_SEARCH_TERMS,
- GOOGLE_ZERO_PREFIX_URL,
LANGUAGE,
SEARCH_TERMS,
};

Powered by Google App Engine
This is Rietveld 408576698