Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: ppapi/c/private/ppp_flash_browser_operations.h

Issue 490433002: PPAPI: make generator output a pointer to an array correctly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 Mar 28 10:23:11 2013. 7 * modified Tue Oct 8 12:16:18 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 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 */
195 void (*FreeSiteList)(char* sites[]); 195 void (*FreeSiteList)(char* sites[]);
196 }; 196 };
197 197
198 typedef struct PPP_Flash_BrowserOperations_1_3 PPP_Flash_BrowserOperations; 198 typedef struct PPP_Flash_BrowserOperations_1_3 PPP_Flash_BrowserOperations;
199 199
(...skipping 25 matching lines...) Expand all
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698