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

Unified Diff: components/omnibox/browser/autocomplete_classifier.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: components/omnibox/browser/autocomplete_classifier.cc
diff --git a/components/omnibox/browser/autocomplete_classifier.cc b/components/omnibox/browser/autocomplete_classifier.cc
index 685a8c5806cceb5e37bc1371ebebbe9e388bde62..b086d835f2c96b1c37cd2a5368cf01e1e8a4647c 100644
--- a/components/omnibox/browser/autocomplete_classifier.cc
+++ b/components/omnibox/browser/autocomplete_classifier.cc
@@ -68,9 +68,9 @@ void AutocompleteClassifier::Classify(
DCHECK(!inside_classify_);
base::AutoReset<bool> reset(&inside_classify_, true);
controller_->Start(AutocompleteInput(
- text, base::string16::npos, std::string(), GURL(), page_classification,
- true, prefer_keyword, allow_exact_keyword_match, false, false,
- *scheme_classifier_));
+ text, base::string16::npos, std::string(), GURL(), base::string16(),
+ page_classification, true, prefer_keyword, allow_exact_keyword_match,
+ false, false, *scheme_classifier_));
DCHECK(controller_->done());
const AutocompleteResult& result = controller_->result();
if (result.empty()) {
« no previous file with comments | « chrome/browser/ui/webui/options/startup_pages_handler.cc ('k') | components/omnibox/browser/autocomplete_input.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698