OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 17 matching lines...) Expand all Loading... |
28 DIR_INSPECTOR, // Directory where web inspector is located. | 28 DIR_INSPECTOR, // Directory where web inspector is located. |
29 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are. | 29 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are. |
30 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents". | 30 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents". |
31 DIR_USER_MUSIC, // Directory for a user's music. | 31 DIR_USER_MUSIC, // Directory for a user's music. |
32 DIR_USER_PICTURES, // Directory for a user's pictures. | 32 DIR_USER_PICTURES, // Directory for a user's pictures. |
33 DIR_USER_VIDEOS, // Directory for a user's videos. | 33 DIR_USER_VIDEOS, // Directory for a user's videos. |
34 DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's | 34 DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's |
35 // "My Documents/Downloads", (Windows) or | 35 // "My Documents/Downloads", (Windows) or |
36 // "Downloads". (Linux) | 36 // "Downloads". (Linux) |
37 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. | 37 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. |
38 DIR_USER_DATA_TEMP, // A temp directory within DIR_USER_DATA. Use | |
39 // this when a temporary file or directory will | |
40 // be moved into the profile, to avoid issues | |
41 // moving across volumes. See crbug.com/13044 . | |
42 // Getting this path does not create it. Users | |
43 // should check that the path exists before | |
44 // using it. | |
45 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. | 38 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. |
46 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 39 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
47 DIR_POLICY_FILES, // Directory for system-wide read-only | 40 DIR_POLICY_FILES, // Directory for system-wide read-only |
48 // policy files that allow sys-admins | 41 // policy files that allow sys-admins |
49 // to set policies for chrome. This directory | 42 // to set policies for chrome. This directory |
50 // contains subdirectories. | 43 // contains subdirectories. |
51 #endif | 44 #endif |
52 #if defined(OS_MACOSX) | 45 #if defined(OS_MACOSX) |
53 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist | 46 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist |
54 // files for the current user. | 47 // files for the current user. |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 119 |
127 PATH_END | 120 PATH_END |
128 }; | 121 }; |
129 | 122 |
130 // Call once to register the provider for the path keys defined above. | 123 // Call once to register the provider for the path keys defined above. |
131 void RegisterPathProvider(); | 124 void RegisterPathProvider(); |
132 | 125 |
133 } // namespace chrome | 126 } // namespace chrome |
134 | 127 |
135 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 128 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |