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 23 matching lines...) Expand all Loading... |
34 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. | 34 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. |
35 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 35 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
36 DIR_POLICY_FILES, // Directory for system-wide read-only | 36 DIR_POLICY_FILES, // Directory for system-wide read-only |
37 // policy files that allow sys-admins | 37 // policy files that allow sys-admins |
38 // to set policies for chrome. This directory | 38 // to set policies for chrome. This directory |
39 // contains subdirectories. | 39 // contains subdirectories. |
40 #endif | 40 #endif |
41 #if defined(OS_MACOSX) && !defined(OS_IOS) | 41 #if defined(OS_MACOSX) && !defined(OS_IOS) |
42 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist | 42 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist |
43 // files for the current user. | 43 // files for the current user. |
| 44 DIR_USER_APPLICATIONS, // ~/Applications |
| 45 DIR_USER_LIBRARY, // ~/Library |
44 #endif | 46 #endif |
45 #if defined(OS_CHROMEOS) || (defined(OS_MACOSX) && !defined(OS_IOS)) | 47 #if defined(OS_CHROMEOS) || (defined(OS_MACOSX) && !defined(OS_IOS)) |
46 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions | 48 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions |
47 // on Chrome Mac. On Chrome OS, this path is | 49 // on Chrome Mac. On Chrome OS, this path is |
48 // used for OEM customization. | 50 // used for OEM customization. |
49 // Getting this path does not create it. | 51 // Getting this path does not create it. |
50 #endif | 52 #endif |
51 | 53 |
52 #if defined(OS_LINUX) | 54 #if defined(OS_LINUX) |
53 DIR_STANDALONE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension' | 55 DIR_STANDALONE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension' |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 121 |
120 PATH_END | 122 PATH_END |
121 }; | 123 }; |
122 | 124 |
123 // Call once to register the provider for the path keys defined above. | 125 // Call once to register the provider for the path keys defined above. |
124 void RegisterPathProvider(); | 126 void RegisterPathProvider(); |
125 | 127 |
126 } // namespace chrome | 128 } // namespace chrome |
127 | 129 |
128 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 130 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |