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 namespace base { | 10 namespace base { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 #endif | 65 #endif |
66 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. | 66 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. |
67 | 67 |
68 DIR_DEFAULT_APPS, // Directory where installer places .crx files | 68 DIR_DEFAULT_APPS, // Directory where installer places .crx files |
69 // to be installed when chrome is first run. | 69 // to be installed when chrome is first run. |
70 DIR_PEPPER_FLASH_PLUGIN, // Directory to the bundled Pepper Flash plugin, | 70 DIR_PEPPER_FLASH_PLUGIN, // Directory to the bundled Pepper Flash plugin, |
71 // containing the plugin and the manifest. | 71 // containing the plugin and the manifest. |
72 DIR_COMPONENT_UPDATED_PEPPER_FLASH_PLUGIN, // Base directory of the Pepper | 72 DIR_COMPONENT_UPDATED_PEPPER_FLASH_PLUGIN, // Base directory of the Pepper |
73 // Flash plugins downloaded by the | 73 // Flash plugins downloaded by the |
74 // component updater. | 74 // component updater. |
75 DIR_PEPPER_FLASH_SYSTEM_PLUGIN, // Base directory of the system version of | |
76 // the Pepper Flash plugin, downloadable | |
77 // from Adobe website. | |
78 FILE_RESOURCE_MODULE, // Full path and filename of the module that | 75 FILE_RESOURCE_MODULE, // Full path and filename of the module that |
79 // contains embedded resources (version, | 76 // contains embedded resources (version, |
80 // strings, images, etc.). | 77 // strings, images, etc.). |
81 FILE_LOCAL_STATE, // Path and filename to the file in which | 78 FILE_LOCAL_STATE, // Path and filename to the file in which |
82 // machine/installation-specific state is saved. | 79 // machine/installation-specific state is saved. |
83 FILE_RECORDED_SCRIPT, // Full path to the script.log file that | 80 FILE_RECORDED_SCRIPT, // Full path to the script.log file that |
84 // contains recorded browser events for | 81 // contains recorded browser events for |
85 // playback. | 82 // playback. |
86 FILE_FLASH_PLUGIN, // Full path to the internal NPAPI Flash plugin | |
87 // file. Querying this path will succeed no | |
88 // matter the file exists or not. | |
89 FILE_PEPPER_FLASH_PLUGIN, // Full path to the bundled Pepper Flash plugin | 83 FILE_PEPPER_FLASH_PLUGIN, // Full path to the bundled Pepper Flash plugin |
90 // file. | 84 // file. |
91 | 85 FILE_PEPPER_FLASH_SYSTEM_PLUGIN, // Full path to the system version of the |
| 86 // Pepper Flash plugin, downloadable from |
| 87 // Adobe website. Querying this path might |
| 88 // succeed no matter the file exists or not. |
| 89 FILE_FLASH_SYSTEM_PLUGIN, // Full path to the system version of NPAPI |
| 90 // Flash plugin, downloadable from Adobe |
| 91 // website. Querying this path might succeed no |
| 92 // matter the file exists or not. |
92 FILE_NACL_PLUGIN, // Full path to the internal NaCl plugin file. | 93 FILE_NACL_PLUGIN, // Full path to the internal NaCl plugin file. |
93 DIR_PNACL_BASE, // Full path to the base dir for PNaCl. | 94 DIR_PNACL_BASE, // Full path to the base dir for PNaCl. |
94 DIR_PNACL_COMPONENT, // Full path to the latest PNaCl version | 95 DIR_PNACL_COMPONENT, // Full path to the latest PNaCl version |
95 // (subdir of DIR_PNACL_BASE). | 96 // (subdir of DIR_PNACL_BASE). |
96 DIR_COMPONENT_WIDEVINE_CDM, // Directory that contains component-updated | 97 DIR_COMPONENT_WIDEVINE_CDM, // Directory that contains component-updated |
97 // Widevine CDM files. | 98 // Widevine CDM files. |
98 FILE_WIDEVINE_CDM_ADAPTER, // Full path to the Widevine CDM adapter file. | 99 FILE_WIDEVINE_CDM_ADAPTER, // Full path to the Widevine CDM adapter file. |
99 FILE_RESOURCES_PACK, // Full path to the .pak file containing | 100 FILE_RESOURCES_PACK, // Full path to the .pak file containing |
100 // binary data (e.g., html files and images | 101 // binary data (e.g., html files and images |
101 // used by internal pages). | 102 // used by internal pages). |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 // Call once to register the provider for the path keys defined above. | 138 // Call once to register the provider for the path keys defined above. |
138 void RegisterPathProvider(); | 139 void RegisterPathProvider(); |
139 | 140 |
140 // Get or set the invalid user data dir that was originally specified. | 141 // Get or set the invalid user data dir that was originally specified. |
141 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); | 142 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); |
142 const base::FilePath& GetInvalidSpecifiedUserDataDir(); | 143 const base::FilePath& GetInvalidSpecifiedUserDataDir(); |
143 | 144 |
144 } // namespace chrome | 145 } // namespace chrome |
145 | 146 |
146 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 147 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |