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

Side by Side Diff: chrome/common/chrome_paths.h

Issue 10910209: Add new PathService paths for Windows' All Users Desktop and Quick Launch folders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adjust links to pass presubmit Created 8 years, 3 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 | « chrome/browser/web_applications/web_app_win.cc ('k') | chrome/common/chrome_paths.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) 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 CHROME_COMMON_CHROME_PATHS_H__ 5 #ifndef CHROME_COMMON_CHROME_PATHS_H__
6 #define CHROME_COMMON_CHROME_PATHS_H__ 6 #define CHROME_COMMON_CHROME_PATHS_H__
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 // This file declares path keys for the chrome module. These can be used with 10 // This file declares path keys for the chrome module. These can be used with
11 // the PathService to access various special directories and files. 11 // the PathService to access various special directories and files.
12 12
13 namespace chrome { 13 namespace chrome {
14 14
15 enum { 15 enum {
16 PATH_START = 1000, 16 PATH_START = 1000,
17 17
18 DIR_APP = PATH_START, // Directory where dlls and data reside. 18 DIR_APP = PATH_START, // Directory where dlls and data reside.
19 DIR_LOGS, // Directory where logs should be written. 19 DIR_LOGS, // Directory where logs should be written.
20 DIR_USER_DATA, // Directory where user data can be written. 20 DIR_USER_DATA, // Directory where user data can be written.
21 #if defined(OS_WIN) 21 #if defined(OS_WIN)
22 DIR_ALT_USER_DATA, // Directory of the desktop or metro user data 22 DIR_ALT_USER_DATA, // Directory of the desktop or metro user data
23 // (the one that isn't in use). 23 // (the one that isn't in use).
24 #endif 24 #endif
25 DIR_CRASH_DUMPS, // Directory where crash dumps are written. 25 DIR_CRASH_DUMPS, // Directory where crash dumps are written.
26 DIR_USER_DESKTOP, // Directory that correspond to the desktop.
27 DIR_RESOURCES, // Directory containing separate file resources 26 DIR_RESOURCES, // Directory containing separate file resources
28 // used by Chrome at runtime. 27 // used by Chrome at runtime.
29 DIR_INSPECTOR, // Directory where web inspector is located. 28 DIR_INSPECTOR, // Directory where web inspector is located.
30 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are. 29 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are.
31 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents". 30 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents".
32 DIR_USER_MUSIC, // Directory for a user's music. 31 DIR_USER_MUSIC, // Directory for a user's music.
33 DIR_USER_PICTURES, // Directory for a user's pictures. 32 DIR_USER_PICTURES, // Directory for a user's pictures.
34 DIR_USER_VIDEOS, // Directory for a user's videos. 33 DIR_USER_VIDEOS, // Directory for a user's videos.
35 DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's 34 DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's
36 // "My Documents/Downloads", (Windows) or 35 // "My Documents/Downloads", (Windows) or
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 124
126 PATH_END 125 PATH_END
127 }; 126 };
128 127
129 // Call once to register the provider for the path keys defined above. 128 // Call once to register the provider for the path keys defined above.
130 void RegisterPathProvider(); 129 void RegisterPathProvider();
131 130
132 } // namespace chrome 131 } // namespace chrome
133 132
134 #endif // CHROME_COMMON_CHROME_PATHS_H__ 133 #endif // CHROME_COMMON_CHROME_PATHS_H__
OLDNEW
« no previous file with comments | « chrome/browser/web_applications/web_app_win.cc ('k') | chrome/common/chrome_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698