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

Side by Side Diff: base/base_paths_win.h

Issue 6873159: Extend PathService::Get to be able to return the X86 program files path. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix broken unit test on 32 bit systems. Created 9 years, 8 months 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | base/base_paths_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 // This file declares windows-specific path keys for the base module. 9 // This file declares windows-specific path keys for the base module.
10 // These can be used with the PathService to access various special 10 // These can be used with the PathService to access various special
11 // directories and files. 11 // directories and files.
12 12
13 namespace base { 13 namespace base {
14 14
15 enum { 15 enum {
16 PATH_WIN_START = 100, 16 PATH_WIN_START = 100,
17 17
18 DIR_WINDOWS, // Windows directory, usually "c:\windows" 18 DIR_WINDOWS, // Windows directory, usually "c:\windows"
19 DIR_SYSTEM, // Usually c:\windows\system32" 19 DIR_SYSTEM, // Usually c:\windows\system32"
20 DIR_PROGRAM_FILES, // Usually c:\program files 20 DIR_PROGRAM_FILES, // Usually c:\program files
21 DIR_PROGRAM_FILESX86, // Usually c:\program files or c:\program files (x86)
21 22
22 DIR_IE_INTERNET_CACHE, // Temporary Internet Files directory. 23 DIR_IE_INTERNET_CACHE, // Temporary Internet Files directory.
23 DIR_COMMON_START_MENU, // Usually "C:\Documents and Settings\All Users\ 24 DIR_COMMON_START_MENU, // Usually "C:\Documents and Settings\All Users\
24 // Start Menu\Programs" 25 // Start Menu\Programs"
25 DIR_START_MENU, // Usually "C:\Documents and Settings\<user>\ 26 DIR_START_MENU, // Usually "C:\Documents and Settings\<user>\
26 // Start Menu\Programs" 27 // Start Menu\Programs"
27 DIR_APP_DATA, // Application Data directory under the user profile. 28 DIR_APP_DATA, // Application Data directory under the user profile.
28 DIR_PROFILE, // Usually "C:\Documents and settings\<user>. 29 DIR_PROFILE, // Usually "C:\Documents and settings\<user>.
29 DIR_LOCAL_APP_DATA_LOW, // Local AppData directory for low integrity level. 30 DIR_LOCAL_APP_DATA_LOW, // Local AppData directory for low integrity level.
30 DIR_LOCAL_APP_DATA, // "Local Settings\Application Data" directory under the 31 DIR_LOCAL_APP_DATA, // "Local Settings\Application Data" directory under the
31 // user profile. 32 // user profile.
32 PATH_WIN_END 33 PATH_WIN_END
33 }; 34 };
34 35
35 } // namespace base 36 } // namespace base
36 37
37 #endif // BASE_BASE_PATHS_WIN_H__ 38 #endif // BASE_BASE_PATHS_WIN_H__
OLDNEW
« no previous file with comments | « no previous file | base/base_paths_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698