summaryrefslogtreecommitdiff
path: root/chromium/base/base_paths_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/base_paths_win.cc')
-rw-r--r--chromium/base/base_paths_win.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium/base/base_paths_win.cc b/chromium/base/base_paths_win.cc
index 453b249c047..1fe49b61493 100644
--- a/chromium/base/base_paths_win.cc
+++ b/chromium/base/base_paths_win.cc
@@ -107,6 +107,18 @@ bool PathProviderWin(int key, FilePath* result) {
return false;
cur = FilePath(system_buffer);
break;
+ case base::DIR_COMMON_STARTUP:
+ if (FAILED(SHGetFolderPath(nullptr, CSIDL_COMMON_STARTUP, nullptr,
+ SHGFP_TYPE_CURRENT, system_buffer)))
+ return false;
+ cur = FilePath(system_buffer);
+ break;
+ case base::DIR_USER_STARTUP:
+ if (FAILED(SHGetFolderPath(nullptr, CSIDL_STARTUP, nullptr,
+ SHGFP_TYPE_CURRENT, system_buffer)))
+ return false;
+ cur = FilePath(system_buffer);
+ break;
case base::DIR_APP_DATA:
if (FAILED(SHGetFolderPath(NULL, CSIDL_APPDATA, NULL, SHGFP_TYPE_CURRENT,
system_buffer)))