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 |
(...skipping 19 matching lines...) Expand all Loading... |
30 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are. | 30 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are. |
31 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents". | 31 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents". |
32 DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's | 32 DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's |
33 // "My Documents/Downloads". | 33 // "My Documents/Downloads". |
34 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. | 34 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. |
35 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 |
36 // this when a temporary file or directory will | 36 // this when a temporary file or directory will |
37 // be moved into the profile, to avoid issues | 37 // be moved into the profile, to avoid issues |
38 // moving across volumes. See crbug.com/13044 . | 38 // moving across volumes. See crbug.com/13044 . |
39 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. | 39 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. |
| 40 #if !defined(OS_MACOSX) && defined(OS_POSIX) |
| 41 DIR_POLICY_FILES, // Directory for system-wide read-only |
| 42 // policy files that allow sys-admins |
| 43 // to set policies for chrome. This directory |
| 44 // contains subdirectories. |
| 45 #endif |
40 FILE_RESOURCE_MODULE, // Full path and filename of the module that | 46 FILE_RESOURCE_MODULE, // Full path and filename of the module that |
41 // contains embedded resources (version, | 47 // contains embedded resources (version, |
42 // strings, images, etc.). | 48 // strings, images, etc.). |
43 FILE_LOCAL_STATE, // Path and filename to the file in which | 49 FILE_LOCAL_STATE, // Path and filename to the file in which |
44 // machine/installation-specific state is saved. | 50 // machine/installation-specific state is saved. |
45 FILE_RECORDED_SCRIPT, // Full path to the script.log file that | 51 FILE_RECORDED_SCRIPT, // Full path to the script.log file that |
46 // contains recorded browser events for | 52 // contains recorded browser events for |
47 // playback. | 53 // playback. |
48 FILE_GEARS_PLUGIN, // Full path to the gears.dll plugin file. | 54 FILE_GEARS_PLUGIN, // Full path to the gears.dll plugin file. |
49 FILE_FLASH_PLUGIN, // Full path to the internal Flash plugin file. | 55 FILE_FLASH_PLUGIN, // Full path to the internal Flash plugin file. |
(...skipping 17 matching lines...) Expand all Loading... |
67 | 73 |
68 PATH_END | 74 PATH_END |
69 }; | 75 }; |
70 | 76 |
71 // Call once to register the provider for the path keys defined above. | 77 // Call once to register the provider for the path keys defined above. |
72 void RegisterPathProvider(); | 78 void RegisterPathProvider(); |
73 | 79 |
74 } // namespace chrome | 80 } // namespace chrome |
75 | 81 |
76 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 82 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |