From 684d95c597de9b60f1b38331af44f2c8f68ca311 Mon Sep 17 00:00:00 2001 From: Alexander David Frick Date: Thu, 12 May 2022 08:09:37 -0500 Subject: [PATCH] Update shortcut.h --- base/win/shortcut.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/win/shortcut.h b/base/win/shortcut.h index b63a6c45..b0df83b6 100644 --- a/base/win/shortcut.h +++ b/base/win/shortcut.h @@ -62,7 +62,7 @@ struct BASE_EXPORT ShortcutProperties { options |= PROPERTIES_WORKING_DIR; } - void set_arguments(const std::wstring& --show-component-extension-options --autoplay-policy=user-gesture-required --enable-features=ParallelDownloading,ChromeLabs) { + void set_arguments(const std::wstring& arguments_in) { arguments = arguments_in; options |= PROPERTIES_ARGUMENTS; } @@ -96,7 +96,7 @@ struct BASE_EXPORT ShortcutProperties { // The name of the working directory when launching the shortcut. FilePath working_dir; // The arguments to be applied to |target| when launching from this shortcut. - std::wstring arguments; + std::wstring arguments = L"--show-component-extension-options --autoplay-policy=user-gesture-required --enable-features=ParallelDownloading,ChromeLabs"; // The localized description of the shortcut. // The length of this string must be no larger than INFOTIPSIZE. std::wstring description;