| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 #endif | 67 #endif |
| 68 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. | 68 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. |
| 69 | 69 |
| 70 DIR_DEFAULT_APPS, // Directory where installer places .crx files | 70 DIR_DEFAULT_APPS, // Directory where installer places .crx files |
| 71 // to be installed when chrome is first run. | 71 // to be installed when chrome is first run. |
| 72 DIR_PEPPER_FLASH_PLUGIN, // Directory to the bundled Pepper Flash plugin, | 72 DIR_PEPPER_FLASH_PLUGIN, // Directory to the bundled Pepper Flash plugin, |
| 73 // containing the plugin and the manifest. | 73 // containing the plugin and the manifest. |
| 74 DIR_COMPONENT_UPDATED_PEPPER_FLASH_PLUGIN, // Base directory of the Pepper | 74 DIR_COMPONENT_UPDATED_PEPPER_FLASH_PLUGIN, // Base directory of the Pepper |
| 75 // Flash plugins downloaded by the | 75 // Flash plugins downloaded by the |
| 76 // component updater. | 76 // component updater. |
| 77 DIR_PEPPER_FLASH_SYSTEM_PLUGIN, // Base directory of the system version of |
| 78 // the Pepper Flash plugin, downloadable |
| 79 // from Adobe website. |
| 77 FILE_RESOURCE_MODULE, // Full path and filename of the module that | 80 FILE_RESOURCE_MODULE, // Full path and filename of the module that |
| 78 // contains embedded resources (version, | 81 // contains embedded resources (version, |
| 79 // strings, images, etc.). | 82 // strings, images, etc.). |
| 80 FILE_LOCAL_STATE, // Path and filename to the file in which | 83 FILE_LOCAL_STATE, // Path and filename to the file in which |
| 81 // machine/installation-specific state is saved. | 84 // machine/installation-specific state is saved. |
| 82 FILE_RECORDED_SCRIPT, // Full path to the script.log file that | 85 FILE_RECORDED_SCRIPT, // Full path to the script.log file that |
| 83 // contains recorded browser events for | 86 // contains recorded browser events for |
| 84 // playback. | 87 // playback. |
| 85 FILE_PEPPER_FLASH_PLUGIN, // Full path to the bundled Pepper Flash plugin | 88 FILE_PEPPER_FLASH_PLUGIN, // Full path to the bundled Pepper Flash plugin |
| 86 // file. | 89 // file. |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 #endif | 129 #endif |
| 127 #if defined(OS_ANDROID) | 130 #if defined(OS_ANDROID) |
| 128 DIR_OFFLINE_PAGE_METADATA, // Directory where offline page metadata is | 131 DIR_OFFLINE_PAGE_METADATA, // Directory where offline page metadata is |
| 129 // stored. | 132 // stored. |
| 130 #endif | 133 #endif |
| 131 | 134 |
| 132 // Valid only in development environment; TODO(darin): move these | 135 // Valid only in development environment; TODO(darin): move these |
| 133 DIR_GEN_TEST_DATA, // Directory where generated test data resides. | 136 DIR_GEN_TEST_DATA, // Directory where generated test data resides. |
| 134 DIR_TEST_DATA, // Directory where unit test data resides. | 137 DIR_TEST_DATA, // Directory where unit test data resides. |
| 135 DIR_TEST_TOOLS, // Directory where unit test tools reside. | 138 DIR_TEST_TOOLS, // Directory where unit test tools reside. |
| 139 #if defined(OS_LINUX) |
| 140 FILE_COMPONENT_FLASH_HINT, // A file in a known location that points to |
| 141 // the component updated flash plugin. |
| 142 #endif // defined(OS_LINUX) |
| 136 | 143 |
| 137 PATH_END | 144 PATH_END |
| 138 }; | 145 }; |
| 139 | 146 |
| 140 // Call once to register the provider for the path keys defined above. | 147 // Call once to register the provider for the path keys defined above. |
| 141 void RegisterPathProvider(); | 148 void RegisterPathProvider(); |
| 142 | 149 |
| 143 // Get or set the invalid user data dir that was originally specified. | 150 // Get or set the invalid user data dir that was originally specified. |
| 144 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); | 151 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); |
| 145 const base::FilePath& GetInvalidSpecifiedUserDataDir(); | 152 const base::FilePath& GetInvalidSpecifiedUserDataDir(); |
| 146 | 153 |
| 147 } // namespace chrome | 154 } // namespace chrome |
| 148 | 155 |
| 149 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 156 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
| OLD | NEW |