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

Unified Diff: components/omnibox/omnibox_field_trial.h

Issue 671593002: Do not delay most visited results. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Casting fix Created 6 years, 2 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
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | components/omnibox/omnibox_field_trial.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/omnibox_field_trial.h
diff --git a/components/omnibox/omnibox_field_trial.h b/components/omnibox/omnibox_field_trial.h
index 07377bdc7052aa8085c479d91334ed37bdb3c757..c659b83fa52810ef146b9601da4d598e9f1a8b20 100644
--- a/components/omnibox/omnibox_field_trial.h
+++ b/components/omnibox/omnibox_field_trial.h
@@ -135,11 +135,16 @@ class OmniboxFieldTrial {
// user clicks on the omnibox but has not typed anything yet.
static bool InZeroSuggestFieldTrial();
- // Returns whether the user is in a ZeroSuggest field trial, but should
- // show most visited URL instead. This is used to compare metrics of
- // ZeroSuggest and most visited suggestions.
+ // Returns whether the user is in a ZeroSuggest field trial, which shows
+ // most visited URLs. This is true for both "MostVisited" and
+ // "MostVisitedWithoutSERP" trials.
static bool InZeroSuggestMostVisitedFieldTrial();
+ // Returns whether the user is in ZeroSuggest field trial showing most
+ // visited URLs except it doesn't show suggestions on Google search result
+ // pages.
+ static bool InZeroSuggestMostVisitedWithoutSerpFieldTrial();
+
// Returns whether the user is in a ZeroSuggest field trial and URL-based
// suggestions can continue to appear after the user has started typing.
static bool InZeroSuggestAfterTypingFieldTrial();
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | components/omnibox/omnibox_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698