Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2234)

Unified Diff: base/base_paths_win.h

Issue 1481703002: win: Move Crashpad all into chrome.exe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: breakpad_dump_location, revert test change Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698