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

Unified Diff: components/omnibox/omnibox_field_trial.cc

Issue 558293004: DO NOT CHECK IN Base URL: https://chromium.googlesource.com/chromium/src.git@top-hit
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/omnibox_field_trial.cc
diff --git a/components/omnibox/omnibox_field_trial.cc b/components/omnibox/omnibox_field_trial.cc
index 96adb803263731c2b3bc50e7b913c7a362dee699..eec1286f1a962d20f4b47c1b323a5c1edbbeb4ed 100644
--- a/components/omnibox/omnibox_field_trial.cc
+++ b/components/omnibox/omnibox_field_trial.cc
@@ -313,15 +313,7 @@ bool OmniboxFieldTrial::DisableInlining() {
}
bool OmniboxFieldTrial::EnableAnswersInSuggest() {
- const CommandLine* cl = CommandLine::ForCurrentProcess();
- if (cl->HasSwitch(switches::kDisableAnswersInSuggest))
- return false;
- if (cl->HasSwitch(switches::kEnableAnswersInSuggest))
- return true;
-
- return variations::GetVariationParamValue(
- kBundledExperimentFieldTrialName,
- kAnswersInSuggestRule) == "true";
+ return true;
}
bool OmniboxFieldTrial::AddUWYTMatchEvenIfPromotedURLs() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698