Index: base/base_paths_win.h |
diff --git a/base/base_paths_win.h b/base/base_paths_win.h |
index d9dbc39f99ab1713336aec4f656e675e20cacf38..48aa6a302630497dcf144b8ceb95b70c579b7258 100644 |
--- a/base/base_paths_win.h |
+++ b/base/base_paths_win.h |
@@ -5,12 +5,16 @@ |
#ifndef BASE_BASE_PATHS_WIN_H_ |
#define BASE_BASE_PATHS_WIN_H_ |
+#include "base/base_export.h" |
+ |
// This file declares windows-specific path keys for the base module. |
// These can be used with the PathService to access various special |
// directories and files. |
namespace base { |
+class FilePath; |
+ |
enum { |
PATH_WIN_START = 100, |
@@ -49,6 +53,26 @@ enum { |
PATH_WIN_END |
}; |
+// These functions are helpers for the implementation of the PathService on |
+// Windows. They're used directly early during startup. http://crbug.com/564398. |
+ |
+// Get %LOCALAPPDATA%. This can be used before the PathService is initialized. |
+BASE_EXPORT bool GetLocalAppData(base::FilePath* result); |
+ |
+// Get FILE_EXE. This can be used before the PathService is initialized. |
+BASE_EXPORT bool GetFileExe(base::FilePath* result); |
+ |
+// Get FILE_MODULE. This can be used before the PathService is initialized. |
+BASE_EXPORT bool GetFileModule(base::FilePath* result); |
+ |
+// Get DIR_PROGRAM_FILESX86. This can be used before the PathService is |
+// initialized. |
+BASE_EXPORT bool GetProgramFilesX86(FilePath* result); |
+ |
+// Get DIR_PROGRAM_FILES. This can be used before the PathService is |
+// initialized. |
+BASE_EXPORT bool GetProgramFiles(FilePath* result); |
+ |
} // namespace base |
#endif // BASE_BASE_PATHS_WIN_H_ |