#include "base/strings/utf_string_conversions.h"
#include "base/test/bind.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/test_future.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/test/test_browser_dialog.h"
#include "chrome/browser/ui/views/web_apps/create_shortcut_confirmation_view.h"
#include "chrome/browser/ui/web_applications/web_app_dialogs.h"
#include "chrome/browser/web_applications/web_app_helpers.h"
#include "chrome/browser/web_applications/web_app_install_info.h"
#include "chrome/common/chrome_features.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "components/webapps/browser/installable/installable_metrics.h"
#include "components/webapps/browser/installable/ml_install_operation_tracker.h"
#include "components/webapps/browser/installable/ml_installability_promoter.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_features.h"
#include "content/public/test/browser_test.h"
#include "third_party/blink/public/common/features.h"
struct Params { … };
class CreateShortcutConfirmationViewBrowserTest
: public DialogBrowserTest,
public ::testing::WithParamInterface<Params> { … };
IN_PROC_BROWSER_TEST_P(CreateShortcutConfirmationViewBrowserTest,
ShowCreateShortcutDialog) { … }
IN_PROC_BROWSER_TEST_P(CreateShortcutConfirmationViewBrowserTest,
VerifyCreateShortcutDialogContents) { … }
IN_PROC_BROWSER_TEST_P(CreateShortcutConfirmationViewBrowserTest,
InvokeUi_default) { … }
IN_PROC_BROWSER_TEST_P(CreateShortcutConfirmationViewBrowserTest,
NormalizeTitles) { … }
INSTANTIATE_TEST_SUITE_P(…);