| OLD | NEW |
| 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 // This file declares path keys for the chrome module. These can be used with | 8 // This file declares path keys for the chrome module. These can be used with |
| 9 // the PathService to access various special directories and files. | 9 // the PathService to access various special directories and files. |
| 10 | 10 |
| 11 namespace chrome { | 11 namespace chrome { |
| 12 | 12 |
| 13 enum { | 13 enum { |
| 14 PATH_START = 1000, | 14 PATH_START = 1000, |
| 15 | 15 |
| 16 DIR_APP = PATH_START, // directory where dlls and data reside | 16 DIR_APP = PATH_START, // directory where dlls and data reside |
| 17 DIR_LOGS, // directory where logs should be written | 17 DIR_LOGS, // directory where logs should be written |
| 18 DIR_USER_DATA, // directory where user data can be written | 18 DIR_USER_DATA, // directory where user data can be written |
| 19 DIR_CRASH_DUMPS, // directory where crash dumps are written | 19 DIR_CRASH_DUMPS, // directory where crash dumps are written |
| 20 DIR_DEFAULT_DOWNLOAD, // directory where downloads go by default | 20 DIR_USER_DESKTOP, // directory that correspond to the desktop |
| 21 DIR_RESOURCES, // directory where application resources are stored | 21 DIR_RESOURCES, // directory where application resources are stored |
| 22 DIR_INSPECTOR, // directory where web inspector is located | 22 DIR_INSPECTOR, // directory where web inspector is located |
| 23 DIR_THEMES, // directory where theme dll files are stored | 23 DIR_THEMES, // directory where theme dll files are stored |
| 24 DIR_LOCALES, // directory where locale resources are stored | 24 DIR_LOCALES, // directory where locale resources are stored |
| 25 DIR_APP_DICTIONARIES, // directory where the global dictionaries are | 25 DIR_APP_DICTIONARIES, // directory where the global dictionaries are |
| 26 DIR_USER_DOCUMENTS, // directory for a user's "My Documents" | 26 DIR_USER_DOCUMENTS, // directory for a user's "My Documents" |
| 27 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 |
| 28 // embedded resources (version, strings, images, etc.) | 28 // embedded resources (version, strings, images, etc.) |
| 29 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/ |
| 30 // installation-specific state is saved | 30 // installation-specific state is saved |
| (...skipping 10 matching lines...) Expand all Loading... |
| 41 PATH_END | 41 PATH_END |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 // Call once to register the provider for the path keys defined above. | 44 // Call once to register the provider for the path keys defined above. |
| 45 void RegisterPathProvider(); | 45 void RegisterPathProvider(); |
| 46 | 46 |
| 47 } // namespace chrome | 47 } // namespace chrome |
| 48 | 48 |
| 49 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 49 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
| 50 | 50 |
| OLD | NEW |