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 Wed Jul 25 16:53:17 2012. | 7 * modified Thu Mar 28 10:23:11 2013. |
8 */ | 8 */ |
9 | 9 |
10 #ifndef PPAPI_C_PRIVATE_PPP_FLASH_BROWSER_OPERATIONS_H_ | 10 #ifndef PPAPI_C_PRIVATE_PPP_FLASH_BROWSER_OPERATIONS_H_ |
11 #define PPAPI_C_PRIVATE_PPP_FLASH_BROWSER_OPERATIONS_H_ | 11 #define PPAPI_C_PRIVATE_PPP_FLASH_BROWSER_OPERATIONS_H_ |
12 | 12 |
13 #include "ppapi/c/pp_bool.h" | 13 #include "ppapi/c/pp_bool.h" |
14 #include "ppapi/c/pp_macros.h" | 14 #include "ppapi/c/pp_macros.h" |
15 #include "ppapi/c/pp_stdint.h" | 15 #include "ppapi/c/pp_stdint.h" |
16 | 16 |
17 #define PPP_FLASH_BROWSEROPERATIONS_INTERFACE_1_0 \ | 17 #define PPP_FLASH_BROWSEROPERATIONS_INTERFACE_1_0 \ |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 PP_Flash_BrowserOperations_SettingType setting_type, | 174 PP_Flash_BrowserOperations_SettingType setting_type, |
175 uint32_t site_count, | 175 uint32_t site_count, |
176 const struct PP_Flash_BrowserOperations_SiteSetting sites[]); | 176 const struct PP_Flash_BrowserOperations_SiteSetting sites[]); |
177 /** | 177 /** |
178 * Returns a list of sites that have stored data, for use with the | 178 * Returns a list of sites that have stored data, for use with the |
179 * "Clear site data" feature. | 179 * "Clear site data" feature. |
180 * | 180 * |
181 * @param[in] plugin_data_path String containing the directory where the | 181 * @param[in] plugin_data_path String containing the directory where the |
182 * plugin data is stored. | 182 * plugin data is stored. |
183 * @param[out] sites A NULL-terminated array of sites that have stored data. | 183 * @param[out] sites A NULL-terminated array of sites that have stored data. |
184 * Use FreeSiteList on the the array when done. | 184 * Use FreeSiteList on the array when done. |
185 * | 185 * |
186 * See also the NPP_GetSitesWithData function in NPAPI: | 186 * See also the NPP_GetSitesWithData function in NPAPI: |
187 * https://wiki.mozilla.org/NPAPI:ClearSiteData | 187 * https://wiki.mozilla.org/NPAPI:ClearSiteData |
188 */ | 188 */ |
189 void (*GetSitesWithData)(const char* plugin_data_path, char** sites[]); | 189 void (*GetSitesWithData)(const char* plugin_data_path, char** sites[]); |
190 /** | 190 /** |
191 * Frees the list of sites returned by GetSitesWithData. | 191 * Frees the list of sites returned by GetSitesWithData. |
192 * | 192 * |
193 * @param[in] sites A NULL-terminated array of strings. | 193 * @param[in] sites A NULL-terminated array of strings. |
194 */ | 194 */ |
(...skipping 30 matching lines...) Expand all Loading... |
225 PP_Flash_BrowserOperations_SettingType setting_type, | 225 PP_Flash_BrowserOperations_SettingType setting_type, |
226 uint32_t site_count, | 226 uint32_t site_count, |
227 const struct PP_Flash_BrowserOperations_SiteSetting sites[]); | 227 const struct PP_Flash_BrowserOperations_SiteSetting sites[]); |
228 }; | 228 }; |
229 /** | 229 /** |
230 * @} | 230 * @} |
231 */ | 231 */ |
232 | 232 |
233 #endif /* PPAPI_C_PRIVATE_PPP_FLASH_BROWSER_OPERATIONS_H_ */ | 233 #endif /* PPAPI_C_PRIVATE_PPP_FLASH_BROWSER_OPERATIONS_H_ */ |
234 | 234 |
OLD | NEW |