fix: app.setLoginItemSettings
error getting swallowed by gin conversion (#41667)
* fix: errors getting swallowed by gin conversion Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * fix: Windows build Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * test: re-enable disabled test Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
21341a56a7
commit
0f1e52fafe
11 changed files with 211 additions and 154 deletions
|
@ -27,6 +27,16 @@
|
|||
|
||||
namespace electron {
|
||||
|
||||
LoginItemSettings::LoginItemSettings() = default;
|
||||
LoginItemSettings::~LoginItemSettings() = default;
|
||||
LoginItemSettings::LoginItemSettings(const LoginItemSettings& other) = default;
|
||||
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
LaunchItem::LaunchItem() = default;
|
||||
LaunchItem::~LaunchItem() = default;
|
||||
LaunchItem::LaunchItem(const LaunchItem& other) = default;
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
// Call |quit| after Chromium is fully started.
|
||||
|
@ -43,17 +53,6 @@ void RunQuitClosure(base::OnceClosure quit) {
|
|||
|
||||
} // namespace
|
||||
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
Browser::LaunchItem::LaunchItem() = default;
|
||||
Browser::LaunchItem::~LaunchItem() = default;
|
||||
Browser::LaunchItem::LaunchItem(const LaunchItem& other) = default;
|
||||
#endif
|
||||
|
||||
Browser::LoginItemSettings::LoginItemSettings() = default;
|
||||
Browser::LoginItemSettings::~LoginItemSettings() = default;
|
||||
Browser::LoginItemSettings::LoginItemSettings(const LoginItemSettings& other) =
|
||||
default;
|
||||
|
||||
Browser::Browser() {
|
||||
WindowList::AddObserver(this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue