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

Unified Diff: components/omnibox/omnibox_field_trial.cc

Issue 485483003: Revert of Omnibox: Make URLs of Bookmarks Searchable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 96adb803263731c2b3bc50e7b913c7a362dee699..943b5dca52f621f64711c70140a315d23c3c2ba1 100644
--- a/components/omnibox/omnibox_field_trial.cc
+++ b/components/omnibox/omnibox_field_trial.cc
@@ -306,6 +306,12 @@
kHQPAllowMatchInSchemeRule) == "true";
}
+bool OmniboxFieldTrial::BookmarksIndexURLsValue() {
+ return variations::GetVariationParamValue(
+ kBundledExperimentFieldTrialName,
+ kBookmarksIndexURLsRule) == "true";
+}
+
bool OmniboxFieldTrial::DisableInlining() {
return variations::GetVariationParamValue(
kBundledExperimentFieldTrialName,
@@ -349,6 +355,7 @@
"HQPAllowMatchInScheme";
const char OmniboxFieldTrial::kZeroSuggestRule[] = "ZeroSuggest";
const char OmniboxFieldTrial::kZeroSuggestVariantRule[] = "ZeroSuggestVariant";
+const char OmniboxFieldTrial::kBookmarksIndexURLsRule[] = "BookmarksIndexURLs";
const char OmniboxFieldTrial::kDisableInliningRule[] = "DisableInlining";
const char OmniboxFieldTrial::kAnswersInSuggestRule[] = "AnswersInSuggest";
const char OmniboxFieldTrial::kAddUWYTMatchEvenIfPromotedURLsRule[] =
« no previous file with comments | « components/omnibox/omnibox_field_trial.h ('k') | components/policy/core/browser/managed_bookmarks_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698