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_SHARED_RESOURCES, // Directory containing js and css files used | 25 DIR_SHARED_RESOURCES, // Directory containing js and css files used |
26 // by DOMUI and component extensions. | 26 // by DOMUI and component extensions. |
27 DIR_BOOKMARK_MANAGER, // Directory containing the bookmark manager. | 27 DIR_BOOKMARK_MANAGER, // Directory containing the bookmark manager. |
28 DIR_INSPECTOR, // Directory where web inspector is located. | 28 DIR_INSPECTOR, // Directory where web inspector is located. |
| 29 DIR_NET_INTERNALS, // Directory where net internals is located. |
29 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are. | 30 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are. |
30 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents". | 31 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents". |
31 DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's | 32 DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's |
32 // "My Documents/Downloads". | 33 // "My Documents/Downloads". |
33 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. | 34 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. |
34 DIR_USER_DATA_TEMP, // A temp directory within DIR_USER_DATA. Use | 35 DIR_USER_DATA_TEMP, // A temp directory within DIR_USER_DATA. Use |
35 // this when a temporary file or directory will | 36 // this when a temporary file or directory will |
36 // be moved into the profile, to avoid issues | 37 // be moved into the profile, to avoid issues |
37 // moving across volumes. See crbug.com/13044 . | 38 // moving across volumes. See crbug.com/13044 . |
38 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. | 39 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. |
(...skipping 27 matching lines...) Expand all Loading... |
66 | 67 |
67 PATH_END | 68 PATH_END |
68 }; | 69 }; |
69 | 70 |
70 // Call once to register the provider for the path keys defined above. | 71 // Call once to register the provider for the path keys defined above. |
71 void RegisterPathProvider(); | 72 void RegisterPathProvider(); |
72 | 73 |
73 } // namespace chrome | 74 } // namespace chrome |
74 | 75 |
75 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 76 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |