feat: app.getPath('recent') (#23381)
* feat: getPath("recent") * test: Add a spec and docs * fix: Integrate feedback * fix: Handle path change * chore: Cut SetRecentPath
This commit is contained in:
parent
c7b2eb68cf
commit
dcbed18f44
6 changed files with 57 additions and 0 deletions
|
@ -45,6 +45,11 @@ bool MoveItemToTrash(const base::FilePath& full_path, bool delete_on_fail);
|
|||
|
||||
void Beep();
|
||||
|
||||
#if defined(OS_WIN)
|
||||
// SHGetFolderPath calls not covered by Chromium
|
||||
bool GetFolderPath(int key, base::FilePath* result);
|
||||
#endif
|
||||
|
||||
#if defined(OS_MACOSX)
|
||||
bool GetLoginItemEnabled();
|
||||
bool SetLoginItemEnabled(bool enabled);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue