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

Unified Diff: chrome/browser/omnibox/omnibox_field_trial.h

Issue 348433009: [AiS] Command-line flag and field trial changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to comments Created 6 years, 6 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/omnibox/omnibox_field_trial.h
diff --git a/chrome/browser/omnibox/omnibox_field_trial.h b/chrome/browser/omnibox/omnibox_field_trial.h
index df79dd50fa98f4cbdd864f22586059156aa6df36..f6599eaf732a272e9277b2d589dca0932f0f3c5f 100644
--- a/chrome/browser/omnibox/omnibox_field_trial.h
+++ b/chrome/browser/omnibox/omnibox_field_trial.h
@@ -282,6 +282,16 @@ class OmniboxFieldTrial {
static bool DisableInlining();
// ---------------------------------------------------------
+ // For the AnswersInSuggest experiment that's part of the bundled omnibox
+ // field trial.
+
+ // Returns true if the AnswersInSuggest feature should be enabled causing
+ // query responses such as current weather conditions or stock quotes
+ // to be provided in the Omnibox suggestion list. Considers both the
+ // field trial state as well as the overriding command-line flags.
+ static bool EnableAnswersInSuggest();
+
+ // ---------------------------------------------------------
// Exposed publicly for the sake of unittests.
static const char kBundledExperimentFieldTrialName[];
// Rule names used by the bundled experiment.
@@ -296,6 +306,7 @@ class OmniboxFieldTrial {
static const char kZeroSuggestVariantRule[];
static const char kBookmarksIndexURLsRule[];
static const char kDisableInliningRule[];
+ static const char kAnswersInSuggestRule[];
// Parameter names used by the HUP new scoring experiments.
static const char kHUPNewScoringEnabledParam[];

Powered by Google App Engine
This is Rietveld 408576698