feat: update app.{set|get}LoginItemSettings(settings)
(#37244)
* feat: update app.{set|get}LoginItemSettings(settings) * test: fixup and add tests * docs: add type link * chore: name -> serviceName
This commit is contained in:
parent
6d0d350e13
commit
f7b1c75c72
7 changed files with 321 additions and 89 deletions
|
@ -49,8 +49,11 @@ bool GetFolderPath(int key, base::FilePath* result);
|
|||
#endif
|
||||
|
||||
#if BUILDFLAG(IS_MAC)
|
||||
bool GetLoginItemEnabled();
|
||||
bool SetLoginItemEnabled(bool enabled);
|
||||
std::string GetLoginItemEnabled(const std::string& type,
|
||||
const std::string& service_name);
|
||||
bool SetLoginItemEnabled(const std::string& type,
|
||||
const std::string& service_name,
|
||||
bool enabled);
|
||||
#endif
|
||||
|
||||
#if BUILDFLAG(IS_LINUX)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue