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

Unified Diff: chrome/browser/ui/webui/omnibox/omnibox_page_handler.cc

Issue 2738003002: Add title to current page in zero suggest. (Closed)
Patch Set: Remove debugging info. Created 3 years, 8 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/ui/webui/omnibox/omnibox_page_handler.cc
diff --git a/chrome/browser/ui/webui/omnibox/omnibox_page_handler.cc b/chrome/browser/ui/webui/omnibox/omnibox_page_handler.cc
index e250173d31a96b1052503d6ac4774dfca6796ee7..1be9a7b720273d4ddc49d516085ba3b3cd220b36 100644
--- a/chrome/browser/ui/webui/omnibox/omnibox_page_handler.cc
+++ b/chrome/browser/ui/webui/omnibox/omnibox_page_handler.cc
@@ -200,6 +200,7 @@ void OmniboxPageHandler::StartOmniboxQuery(const std::string& input_string,
time_omnibox_started_ = base::Time::Now();
input_ = AutocompleteInput(
base::UTF8ToUTF16(input_string), cursor_position, std::string(), GURL(),
+ base::string16(),
static_cast<metrics::OmniboxEventProto::PageClassification>(
page_classification),
prevent_inline_autocomplete, prefer_keyword, true, true, false,

Powered by Google App Engine
This is Rietveld 408576698