OLD | NEW |
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2010 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_CRASH_DUMPS, // Directory where crash dumps are written. | 21 DIR_CRASH_DUMPS, // Directory where crash dumps are written. |
22 DIR_USER_DESKTOP, // Directory that correspond to the desktop. | 22 DIR_USER_DESKTOP, // Directory that correspond to the desktop. |
23 DIR_RESOURCES, // Directory containing separate file resources | 23 DIR_RESOURCES, // Directory containing separate file resources |
24 // used by Chrome at runtime. | 24 // used by Chrome at runtime. |
25 DIR_BOOKMARK_MANAGER, // Directory containing the bookmark manager. | 25 DIR_BOOKMARK_MANAGER, // Directory containing the bookmark manager. |
26 DIR_INSPECTOR, // Directory where web inspector is located. | 26 DIR_INSPECTOR, // Directory where web inspector is located. |
| 27 DIR_NET_INTERNALS, // Directory where net internals is located. |
27 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are. | 28 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are. |
28 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents". | 29 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents". |
29 DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's | 30 DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's |
30 // "My Documents/Downloads". | 31 // "My Documents/Downloads". |
31 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. | 32 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. |
32 FILE_RESOURCE_MODULE, // Full path and filename of the module that | 33 FILE_RESOURCE_MODULE, // Full path and filename of the module that |
33 // contains embedded resources (version, | 34 // contains embedded resources (version, |
34 // strings, images, etc.). | 35 // strings, images, etc.). |
35 FILE_LOCAL_STATE, // Path and filename to the file in which | 36 FILE_LOCAL_STATE, // Path and filename to the file in which |
36 // machine/installation-specific state is saved. | 37 // machine/installation-specific state is saved. |
(...skipping 16 matching lines...) Expand all Loading... |
53 | 54 |
54 PATH_END | 55 PATH_END |
55 }; | 56 }; |
56 | 57 |
57 // Call once to register the provider for the path keys defined above. | 58 // Call once to register the provider for the path keys defined above. |
58 void RegisterPathProvider(); | 59 void RegisterPathProvider(); |
59 | 60 |
60 } // namespace chrome | 61 } // namespace chrome |
61 | 62 |
62 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 63 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |