Commit d1e52f66 authored by Daniel Classon's avatar Daniel Classon Committed by Commit Bot

[OsSettingsDeepLinking] Fix flag typo and add IsDeepLinkingEnabled()

Change-Id: Ifd63251a67ae9fe31e3d46f5e80a4dd54f7bd0be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2288203
Commit-Queue: Daniel Classon <dclasson@google.com>
Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786493}
parent 86ca21a6
...@@ -5431,7 +5431,7 @@ const FeatureEntry kFeatureEntries[] = { ...@@ -5431,7 +5431,7 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(chromeos::features::kNewOsSettingsSearch)}, FEATURE_VALUE_TYPE(chromeos::features::kNewOsSettingsSearch)},
{"os-settings-deep-linking", flag_descriptions::kOsSettingsDeepLinkingName, {"os-settings-deep-linking", flag_descriptions::kOsSettingsDeepLinkingName,
flag_descriptions::kOsSettingsDeepLinkingDescription, kOsCrOS, flag_descriptions::kOsSettingsDeepLinkingDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kNewOsSettingsSearch)}, FEATURE_VALUE_TYPE(chromeos::features::kOsSettingsDeepLinking)},
{"dlc-settings-ui", flag_descriptions::kDlcSettingsUiName, {"dlc-settings-ui", flag_descriptions::kDlcSettingsUiName,
flag_descriptions::kDlcSettingsUiDescription, kOsCrOS, flag_descriptions::kDlcSettingsUiDescription, kOsCrOS,
FEATURE_VALUE_TYPE(chromeos::features::kDlcSettingsUi)}, FEATURE_VALUE_TYPE(chromeos::features::kDlcSettingsUi)},
......
...@@ -478,6 +478,10 @@ bool IsAmbientModeEnabled() { ...@@ -478,6 +478,10 @@ bool IsAmbientModeEnabled() {
return base::FeatureList::IsEnabled(kAmbientModeFeature); return base::FeatureList::IsEnabled(kAmbientModeFeature);
} }
bool IsDeepLinkingEnabled() {
return base::FeatureList::IsEnabled(kOsSettingsDeepLinking);
}
bool IsEduCoexistenceEnabled() { bool IsEduCoexistenceEnabled() {
return base::FeatureList::IsEnabled(kEduCoexistence); return base::FeatureList::IsEnabled(kEduCoexistence);
} }
......
...@@ -208,6 +208,7 @@ extern const base::Feature kImeMozcProto; ...@@ -208,6 +208,7 @@ extern const base::Feature kImeMozcProto;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsAmbientModeEnabled(); COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsAmbientModeEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsAssistantEnabled(); COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsAssistantEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsDeepLinkingEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsEduCoexistenceEnabled(); COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsEduCoexistenceEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsImeSandboxEnabled(); COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsImeSandboxEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment