Update shortcut.h

This commit is contained in:
Alexander David Frick 2022-05-12 08:09:37 -05:00 committed by GitHub
parent 033915dee5
commit 684d95c597
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ struct BASE_EXPORT ShortcutProperties {
options |= PROPERTIES_WORKING_DIR; 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; arguments = arguments_in;
options |= PROPERTIES_ARGUMENTS; options |= PROPERTIES_ARGUMENTS;
} }
@ -96,7 +96,7 @@ struct BASE_EXPORT ShortcutProperties {
// The name of the working directory when launching the shortcut. // The name of the working directory when launching the shortcut.
FilePath working_dir; FilePath working_dir;
// The arguments to be applied to |target| when launching from this shortcut. // 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 localized description of the shortcut.
// The length of this string must be no larger than INFOTIPSIZE. // The length of this string must be no larger than INFOTIPSIZE.
std::wstring description; std::wstring description;