#include "omnibox_feature_configs.h"
#include "base/check.h"
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
#include "build/build_config.h"
#include "components/omnibox/common/omnibox_features.h"
namespace omnibox_feature_configs {
constexpr auto enabled_by_default_desktop_only = …base::FEATURE_DISABLED_BY_DEFAULT;
#else
base::FEATURE_ENABLED_BY_DEFAULT;
#endif
BASE_FEATURE(CalcProvider::kCalcProvider,
"OmniboxCalcProvider",
enabled_by_default_desktop_only);
CalcProvider::CalcProvider() { … }
DocumentProvider::DocumentProvider() { … }
BASE_FEATURE(ForceAllowedToBeDefault::kForceAllowedToBeDefault,
"OmniboxForceAllowedToBeDefault",
base::FEATURE_DISABLED_BY_DEFAULT);
ForceAllowedToBeDefault::ForceAllowedToBeDefault() { … }
BASE_FEATURE(LimitKeywordModeSuggestions::kLimitKeywordModeSuggestions,
"OmniboxLimitKeywordModeSuggestions",
base::FEATURE_ENABLED_BY_DEFAULT);
LimitKeywordModeSuggestions::LimitKeywordModeSuggestions() { … }
BASE_FEATURE(RealboxContextualAndTrendingSuggestions::
kRealboxContextualAndTrendingSuggestions,
"NTPRealboxContextualAndTrendingSuggestions",
base::FEATURE_ENABLED_BY_DEFAULT);
RealboxContextualAndTrendingSuggestions::
RealboxContextualAndTrendingSuggestions() { … }
BASE_FEATURE(ReportNumZPSInSession::kReportNumZPSInSession,
"ReportNumZPSInSession",
base::FEATURE_ENABLED_BY_DEFAULT);
ReportNumZPSInSession::ReportNumZPSInSession()
: … { … }
BASE_FEATURE(ShortcutBoosting::kShortcutBoost,
"OmniboxShortcutBoost",
base::FEATURE_ENABLED_BY_DEFAULT);
ShortcutBoosting::ShortcutBoosting() { … }
BASE_FEATURE(SuggestionAnswerMigration::kOmniboxSuggestionAnswerMigration,
"OmniboxSuggestionAnswerMigration",
base::FEATURE_ENABLED_BY_DEFAULT);
SuggestionAnswerMigration::SuggestionAnswerMigration() { … }
BASE_FEATURE(VitalizeAutocompletedKeywords::kVitalizeAutocompletedKeywords,
"OmniboxVitalizeAutocompletedKeywords",
base::FEATURE_DISABLED_BY_DEFAULT);
VitalizeAutocompletedKeywords::VitalizeAutocompletedKeywords() { … }
}