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 | 5 |
6 /* From private/ppp_flash_browser_operations.idl, | 6 /* From private/ppp_flash_browser_operations.idl, |
7 * modified Thu May 24 15:41:01 2012. | 7 * modified Thu May 24 15:41:01 2012. |
8 */ | 8 */ |
9 | 9 |
10 #ifndef PPAPI_C_PRIVATE_PPP_FLASH_BROWSER_OPERATIONS_H_ | 10 #ifndef PPAPI_C_PRIVATE_PPP_FLASH_BROWSER_OPERATIONS_H_ |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 * @param[in] permission The default permission. | 150 * @param[in] permission The default permission. |
151 * @param[in] clear_site_specific Whether to remove all site-specific | 151 * @param[in] clear_site_specific Whether to remove all site-specific |
152 * settings. | 152 * settings. |
153 * | 153 * |
154 * @return <code>PP_TRUE</code> on success, <code>PP_FALSE</code> on failure. | 154 * @return <code>PP_TRUE</code> on success, <code>PP_FALSE</code> on failure. |
155 */ | 155 */ |
156 PP_Bool (*SetDefaultPermission)( | 156 PP_Bool (*SetDefaultPermission)( |
157 const char* plugin_data_path, | 157 const char* plugin_data_path, |
158 PP_Flash_BrowserOperations_SettingType setting_type, | 158 PP_Flash_BrowserOperations_SettingType setting_type, |
159 PP_Flash_BrowserOperations_Permission permission, | 159 PP_Flash_BrowserOperations_Permission permission, |
160 PP_Bool clear_site_speicifc); | 160 PP_Bool clear_site_specific); |
161 /** | 161 /** |
162 * Sets site-specific permission. If a site has already got site-specific | 162 * Sets site-specific permission. If a site has already got site-specific |
163 * permission and it is not in <code>sites</code>, it won't be affected. | 163 * permission and it is not in <code>sites</code>, it won't be affected. |
164 * | 164 * |
165 * @param[in] plugin_data_path String containing the directory where the | 165 * @param[in] plugin_data_path String containing the directory where the |
166 * plugin settings are stored. | 166 * plugin settings are stored. |
167 * @param[in] setting_type What type of setting to set. | 167 * @param[in] setting_type What type of setting to set. |
168 * @param[in] site_count How many items are there in <code>sites</code>. | 168 * @param[in] site_count How many items are there in <code>sites</code>. |
169 * @param[in] sites The site-specific settings. If a site is specified with | 169 * @param[in] sites The site-specific settings. If a site is specified with |
170 * <code>PP_FLASH_BROWSEROPERATIONS_PERMISSION_DEFAULT</code> permission, it | 170 * <code>PP_FLASH_BROWSEROPERATIONS_PERMISSION_DEFAULT</code> permission, it |
(...skipping 15 matching lines...) Expand all Loading... |
186 const char* site, | 186 const char* site, |
187 uint64_t flags, | 187 uint64_t flags, |
188 uint64_t max_age); | 188 uint64_t max_age); |
189 }; | 189 }; |
190 /** | 190 /** |
191 * @} | 191 * @} |
192 */ | 192 */ |
193 | 193 |
194 #endif /* PPAPI_C_PRIVATE_PPP_FLASH_BROWSER_OPERATIONS_H_ */ | 194 #endif /* PPAPI_C_PRIVATE_PPP_FLASH_BROWSER_OPERATIONS_H_ */ |
195 | 195 |
OLD | NEW |