OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist | 50 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist |
51 // files for the current user. | 51 // files for the current user. |
52 #endif | 52 #endif |
53 #if defined(OS_CHROMEOS) | 53 #if defined(OS_CHROMEOS) |
54 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions. | 54 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions. |
55 // Used for OEM customization on Chrome OS. | 55 // Used for OEM customization on Chrome OS. |
56 // Getting this path does not create it. | 56 // Getting this path does not create it. |
57 #endif | 57 #endif |
58 | 58 |
59 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. | 59 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. |
| 60 |
| 61 #if defined(OS_MACOSX) |
| 62 DIR_DEPRICATED_EXTERNAL_EXTENSIONS, // Former home of external extensions. |
| 63 // We read from the old path for now, |
| 64 // to give users time to migrate. |
| 65 #endif |
| 66 |
60 DIR_DEFAULT_APPS, // Directory where installer places .crx files | 67 DIR_DEFAULT_APPS, // Directory where installer places .crx files |
61 // to be installed when chrome is first run. | 68 // to be installed when chrome is first run. |
62 FILE_RESOURCE_MODULE, // Full path and filename of the module that | 69 FILE_RESOURCE_MODULE, // Full path and filename of the module that |
63 // contains embedded resources (version, | 70 // contains embedded resources (version, |
64 // strings, images, etc.). | 71 // strings, images, etc.). |
65 FILE_LOCAL_STATE, // Path and filename to the file in which | 72 FILE_LOCAL_STATE, // Path and filename to the file in which |
66 // machine/installation-specific state is saved. | 73 // machine/installation-specific state is saved. |
67 FILE_RECORDED_SCRIPT, // Full path to the script.log file that | 74 FILE_RECORDED_SCRIPT, // Full path to the script.log file that |
68 // contains recorded browser events for | 75 // contains recorded browser events for |
69 // playback. | 76 // playback. |
(...skipping 24 matching lines...) Expand all Loading... |
94 | 101 |
95 PATH_END | 102 PATH_END |
96 }; | 103 }; |
97 | 104 |
98 // Call once to register the provider for the path keys defined above. | 105 // Call once to register the provider for the path keys defined above. |
99 void RegisterPathProvider(); | 106 void RegisterPathProvider(); |
100 | 107 |
101 } // namespace chrome | 108 } // namespace chrome |
102 | 109 |
103 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 110 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |