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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
65 // Flash plugins downloaded by the | 65 // Flash plugins downloaded by the |
66 // component updater. | 66 // component updater. |
67 FILE_RESOURCE_MODULE, // Full path and filename of the module that | 67 FILE_RESOURCE_MODULE, // Full path and filename of the module that |
68 // contains embedded resources (version, | 68 // contains embedded resources (version, |
69 // strings, images, etc.). | 69 // strings, images, etc.). |
70 FILE_LOCAL_STATE, // Path and filename to the file in which | 70 FILE_LOCAL_STATE, // Path and filename to the file in which |
71 // machine/installation-specific state is saved. | 71 // machine/installation-specific state is saved. |
72 FILE_RECORDED_SCRIPT, // Full path to the script.log file that | 72 FILE_RECORDED_SCRIPT, // Full path to the script.log file that |
73 // contains recorded browser events for | 73 // contains recorded browser events for |
74 // playback. | 74 // playback. |
75 FILE_FLASH_PLUGIN, // Full path to the internal Flash plugin file. | 75 FILE_FLASH_PLUGIN, // Full path to the internal NPAPI Flash plugin |
yzshen1
2012/12/27 23:10:57
I will get rid of this one when I remove the prefs
| |
76 // Querying this path will succeed no matter the | 76 // file. Querying this path will succeed no |
77 // file exists or not. | 77 // matter the file exists or not. |
78 FILE_FLASH_PLUGIN_EXISTING, // Full path to the internal Flash plugin file. | |
79 // Querying this path will fail if the file | |
80 // doesn't exist. | |
81 FILE_PEPPER_FLASH_PLUGIN, // Full path to the bundled Pepper Flash plugin | 78 FILE_PEPPER_FLASH_PLUGIN, // Full path to the bundled Pepper Flash plugin |
82 // file. | 79 // file. |
83 FILE_PDF_PLUGIN, // Full path to the internal PDF plugin file. | 80 FILE_PDF_PLUGIN, // Full path to the internal PDF plugin file. |
84 | 81 |
85 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 82 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
86 FILE_NACL_HELPER, // Full path to Linux nacl_helper executable. | 83 FILE_NACL_HELPER, // Full path to Linux nacl_helper executable. |
87 FILE_NACL_HELPER_BOOTSTRAP, // ... and nacl_helper_bootstrap executable. | 84 FILE_NACL_HELPER_BOOTSTRAP, // ... and nacl_helper_bootstrap executable. |
88 #endif | 85 #endif |
89 FILE_NACL_PLUGIN, // Full path to the internal NaCl plugin file. | 86 FILE_NACL_PLUGIN, // Full path to the internal NaCl plugin file. |
90 DIR_PNACL_BASE, // Full path to the base dir for PNaCl. | 87 DIR_PNACL_BASE, // Full path to the base dir for PNaCl. |
(...skipping 23 matching lines...) Expand all Loading... | |
114 | 111 |
115 PATH_END | 112 PATH_END |
116 }; | 113 }; |
117 | 114 |
118 // Call once to register the provider for the path keys defined above. | 115 // Call once to register the provider for the path keys defined above. |
119 void RegisterPathProvider(); | 116 void RegisterPathProvider(); |
120 | 117 |
121 } // namespace chrome | 118 } // namespace chrome |
122 | 119 |
123 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 120 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |