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

Unified Diff: components/omnibox/browser/omnibox_switches.cc

Issue 2864103003: Limit the number of history urls indexed for omnibox suggestions. (Closed)
Patch Set: Created 3 years, 7 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/omnibox_switches.cc
diff --git a/components/omnibox/browser/omnibox_switches.cc b/components/omnibox/browser/omnibox_switches.cc
index a17a27e4e745891670d18cbb532138bfbd1f984e..6a89d19ec5621ee105e6dd2b08ce5627de63fb62 100644
--- a/components/omnibox/browser/omnibox_switches.cc
+++ b/components/omnibox/browser/omnibox_switches.cc
@@ -11,4 +11,9 @@ namespace switches {
const char kEmphasizeTitlesInOmniboxDropdown[] =
"emphasize-titles-in-omnibox-dropdown";
+// Picks the top |N| from history URLs for indexing in omnibox suggestions.
+// Takes a single argument |N|.
+extern const char kLimitHistoryUrlIndexingForOmnibox[] =
+ "limit-history-url-indexing-for-omnibox";
+
} // namespace switches

Powered by Google App Engine
This is Rietveld 408576698