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

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

Issue 449048: Move some XDG code from chrome to base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux base_unittest Created 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome.gyp ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 DIR_USER_CACHE, // directory where user cache data resides
22 DIR_CRASH_DUMPS, // directory where crash dumps are written 21 DIR_CRASH_DUMPS, // directory where crash dumps are written
23 DIR_USER_DESKTOP, // directory that correspond to the desktop 22 DIR_USER_DESKTOP, // directory that correspond to the desktop
24 DIR_INSPECTOR, // directory where web inspector is located 23 DIR_INSPECTOR, // directory where web inspector is located
25 DIR_APP_DICTIONARIES, // directory where the global dictionaries are 24 DIR_APP_DICTIONARIES, // directory where the global dictionaries are
26 DIR_USER_DOCUMENTS, // directory for a user's "My Documents" 25 DIR_USER_DOCUMENTS, // directory for a user's "My Documents"
27 DIR_DEFAULT_DOWNLOADS, // directory for a user's "My Documents/Downloads" 26 DIR_DEFAULT_DOWNLOADS, // directory for a user's "My Documents/Downloads"
28 FILE_RESOURCE_MODULE, // full path and filename of the module that contains 27 FILE_RESOURCE_MODULE, // full path and filename of the module that contains
29 // embedded resources (version, strings, images, etc.) 28 // embedded resources (version, strings, images, etc.)
30 FILE_LOCAL_STATE, // path and filename to the file in which machine/ 29 FILE_LOCAL_STATE, // path and filename to the file in which machine/
31 // installation-specific state is saved 30 // installation-specific state is saved
(...skipping 14 matching lines...) Expand all
46 45
47 PATH_END 46 PATH_END
48 }; 47 };
49 48
50 // Call once to register the provider for the path keys defined above. 49 // Call once to register the provider for the path keys defined above.
51 void RegisterPathProvider(); 50 void RegisterPathProvider();
52 51
53 } // namespace chrome 52 } // namespace chrome
54 53
55 #endif // CHROME_COMMON_CHROME_PATHS_H__ 54 #endif // CHROME_COMMON_CHROME_PATHS_H__
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/common/chrome_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698