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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_BASE_PATHS_WIN_H_ 5 #ifndef BASE_BASE_PATHS_WIN_H_
6 #define BASE_BASE_PATHS_WIN_H_ 6 #define BASE_BASE_PATHS_WIN_H_
7 7
8 #include "base/base_export.h"
9
8 // This file declares windows-specific path keys for the base module. 10 // This file declares windows-specific path keys for the base module.
9 // These can be used with the PathService to access various special 11 // These can be used with the PathService to access various special
10 // directories and files. 12 // directories and files.
11 13
12 namespace base { 14 namespace base {
13 15
16 class FilePath;
17
14 enum { 18 enum {
15 PATH_WIN_START = 100, 19 PATH_WIN_START = 100,
16 20
17 DIR_WINDOWS, // Windows directory, usually "c:\windows" 21 DIR_WINDOWS, // Windows directory, usually "c:\windows"
18 DIR_SYSTEM, // Usually c:\windows\system32" 22 DIR_SYSTEM, // Usually c:\windows\system32"
19 // 32-bit 32-bit on 64-bit 64-bit on 64-bit 23 // 32-bit 32-bit on 64-bit 64-bit on 64-bit
20 // DIR_PROGRAM_FILES 1 2 1 24 // DIR_PROGRAM_FILES 1 2 1
21 // DIR_PROGRAM_FILESX86 1 2 2 25 // DIR_PROGRAM_FILESX86 1 2 2
22 // DIR_PROGRAM_FILES6432 1 1 1 26 // DIR_PROGRAM_FILES6432 1 1 1
23 // 1 - C:\Program Files 2 - C:\Program Files (x86) 27 // 1 - C:\Program Files 2 - C:\Program Files (x86)
(...skipping 18 matching lines...) Expand all
42 DIR_COMMON_DESKTOP, // Directory for the common desktop (visible 46 DIR_COMMON_DESKTOP, // Directory for the common desktop (visible
43 // on all user's Desktop). 47 // on all user's Desktop).
44 DIR_USER_QUICK_LAUNCH, // Directory for the quick launch shortcuts. 48 DIR_USER_QUICK_LAUNCH, // Directory for the quick launch shortcuts.
45 DIR_TASKBAR_PINS, // Directory for the shortcuts pinned to taskbar 49 DIR_TASKBAR_PINS, // Directory for the shortcuts pinned to taskbar
46 // (Win7-8) via base::win::PinShortcutToTaskbar(). 50 // (Win7-8) via base::win::PinShortcutToTaskbar().
47 DIR_WINDOWS_FONTS, // Usually C:\Windows\Fonts. 51 DIR_WINDOWS_FONTS, // Usually C:\Windows\Fonts.
48 52
49 PATH_WIN_END 53 PATH_WIN_END
50 }; 54 };
51 55
56 // These functions are helpers for the implementation of the PathService on
57 // Windows. They're used directly early during startup. http://crbug.com/564398.
58
59 // Get %LOCALAPPDATA%. This can be used before the PathService is initialized.
60 BASE_EXPORT bool GetLocalAppData(base::FilePath* result);
61
62 // Get FILE_EXE. This can be used before the PathService is initialized.
63 BASE_EXPORT bool GetFileExe(base::FilePath* result);
64
65 // Get FILE_MODULE. This can be used before the PathService is initialized.
66 BASE_EXPORT bool GetFileModule(base::FilePath* result);
67
68 // Get DIR_PROGRAM_FILESX86. This can be used before the PathService is
69 // initialized.
70 BASE_EXPORT bool GetProgramFilesX86(FilePath* result);
71
72 // Get DIR_PROGRAM_FILES. This can be used before the PathService is
73 // initialized.
74 BASE_EXPORT bool GetProgramFiles(FilePath* result);
75
52 } // namespace base 76 } // namespace base
53 77
54 #endif // BASE_BASE_PATHS_WIN_H_ 78 #endif // BASE_BASE_PATHS_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698