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 FILE_RESOURCE_MODULE, // Full path and filename of the module that | 67 FILE_RESOURCE_MODULE, // Full path and filename of the module that |
61 // contains embedded resources (version, | 68 // contains embedded resources (version, |
62 // strings, images, etc.). | 69 // strings, images, etc.). |
63 FILE_LOCAL_STATE, // Path and filename to the file in which | 70 FILE_LOCAL_STATE, // Path and filename to the file in which |
64 // machine/installation-specific state is saved. | 71 // machine/installation-specific state is saved. |
65 FILE_RECORDED_SCRIPT, // Full path to the script.log file that | 72 FILE_RECORDED_SCRIPT, // Full path to the script.log file that |
66 // contains recorded browser events for | 73 // contains recorded browser events for |
67 // playback. | 74 // playback. |
68 FILE_FLASH_PLUGIN, // Full path to the internal Flash plugin file. | 75 FILE_FLASH_PLUGIN, // Full path to the internal Flash plugin file. |
69 FILE_PEPPER_FLASH_PLUGIN, // Full path to the pepper Flash plugin file. | 76 FILE_PEPPER_FLASH_PLUGIN, // Full path to the pepper Flash plugin file. |
(...skipping 21 matching lines...) Expand all Loading... |
91 | 98 |
92 PATH_END | 99 PATH_END |
93 }; | 100 }; |
94 | 101 |
95 // Call once to register the provider for the path keys defined above. | 102 // Call once to register the provider for the path keys defined above. |
96 void RegisterPathProvider(); | 103 void RegisterPathProvider(); |
97 | 104 |
98 } // namespace chrome | 105 } // namespace chrome |
99 | 106 |
100 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 107 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |