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

Unified Diff: components/omnibox/omnibox_field_trial.cc

Issue 879053002: Remove Omnibox Disallow Inlining Field Trial (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/omnibox_field_trial.cc
diff --git a/components/omnibox/omnibox_field_trial.cc b/components/omnibox/omnibox_field_trial.cc
index 6e7706b5b5da25eadce33cb8f2379bc8efa14b00..74f1100ed0f1de92c567d96db1838c272dd65f16 100644
--- a/components/omnibox/omnibox_field_trial.cc
+++ b/components/omnibox/omnibox_field_trial.cc
@@ -301,12 +301,6 @@ bool OmniboxFieldTrial::HQPAllowMatchInSchemeValue() {
kHQPAllowMatchInSchemeRule) == "true";
}
-bool OmniboxFieldTrial::DisableInlining() {
- return variations::GetVariationParamValue(
- kBundledExperimentFieldTrialName,
- kDisableInliningRule) == "true";
-}
-
bool OmniboxFieldTrial::EnableAnswersInSuggest() {
const base::CommandLine* cl = base::CommandLine::ForCurrentProcess();
if (cl->HasSwitch(switches::kDisableAnswersInSuggest))
@@ -319,12 +313,6 @@ bool OmniboxFieldTrial::EnableAnswersInSuggest() {
kAnswersInSuggestRule) == "true";
}
-bool OmniboxFieldTrial::AddUWYTMatchEvenIfPromotedURLs() {
- return variations::GetVariationParamValue(
- kBundledExperimentFieldTrialName,
- kAddUWYTMatchEvenIfPromotedURLsRule) == "true";
-}
-
bool OmniboxFieldTrial::DisplayHintTextWhenPossible() {
return variations::GetVariationParamValue(
kBundledExperimentFieldTrialName,
@@ -367,10 +355,7 @@ const char OmniboxFieldTrial::kHQPAllowMatchInSchemeRule[] =
"HQPAllowMatchInScheme";
const char OmniboxFieldTrial::kZeroSuggestRule[] = "ZeroSuggest";
const char OmniboxFieldTrial::kZeroSuggestVariantRule[] = "ZeroSuggestVariant";
-const char OmniboxFieldTrial::kDisableInliningRule[] = "DisableInlining";
const char OmniboxFieldTrial::kAnswersInSuggestRule[] = "AnswersInSuggest";
-const char OmniboxFieldTrial::kAddUWYTMatchEvenIfPromotedURLsRule[] =
- "AddUWYTMatchEvenIfPromotedURLs";
const char OmniboxFieldTrial::kDisplayHintTextWhenPossibleRule[] =
"DisplayHintTextWhenPossible";
const char OmniboxFieldTrial::kDisableResultsCachingRule[] =

Powered by Google App Engine
This is Rietveld 408576698