assistant: Change features to deprecate standalone UI
This patche renames/adds features for the preparation to deprecate Assistant
standalone UI.
Specifically,
1. Rename the feature “app_list_features::kEnableEmbeddedAssistantUI”, to
“app_list_features::EnableAssistantLauncherUI” to control open
Assistant in Launcher.
2. We still need to use the old feature name “EnableEmbeddedAssistantUI” to
guard stable users to use Assistant search because it is used in finch
experiment. So we can change the feature struct to
“app_list_features::kEnableAssistantSearch”. This feature needs to replace
the old checks in the multiple places.
Bug: b/137873091
Test: manual
Change-Id: Ie8dee00163c23508f152edacf897c88ddafdff51
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1898619
Reviewed-by: Yue Li <[email protected]>
Reviewed-by: Xiaohui Chen <[email protected]>
Reviewed-by: Xiyuan Xia <[email protected]>
Commit-Queue: Tao Wu <[email protected]>
Cr-Commit-Position: refs/heads/master@{#714103}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 2e4f95eddc..fea4019 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -4073,7 +4073,7 @@
{"enable-assistant-launcher-integration",
flag_descriptions::kEnableAssistantLauncherIntegrationName,
flag_descriptions::kEnableAssistantLauncherIntegrationDescription, kOsCrOS,
- FEATURE_VALUE_TYPE(app_list_features::kEnableEmbeddedAssistantUI)},
+ FEATURE_VALUE_TYPE(app_list_features::kEnableAssistantSearch)},
#endif // OS_CHROMEOS
{"autofill-enable-local-card-migration-for-non-sync-user",