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 /** | 6 /** |
7 * This file contains the <code>PPP_Flash_BrowserOperations</code> interface. | 7 * This file contains the <code>PPP_Flash_BrowserOperations</code> interface. |
8 */ | 8 */ |
9 | 9 |
10 label Chrome { | 10 label Chrome { |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 [in] uint32_t site_count, | 142 [in] uint32_t site_count, |
143 [in, size_is(site_count)] PP_Flash_BrowserOperations_SiteSetting[] sites); | 143 [in, size_is(site_count)] PP_Flash_BrowserOperations_SiteSetting[] sites); |
144 | 144 |
145 /** | 145 /** |
146 * Returns a list of sites that have stored data, for use with the | 146 * Returns a list of sites that have stored data, for use with the |
147 * "Clear site data" feature. | 147 * "Clear site data" feature. |
148 * | 148 * |
149 * @param[in] plugin_data_path String containing the directory where the | 149 * @param[in] plugin_data_path String containing the directory where the |
150 * plugin data is stored. | 150 * plugin data is stored. |
151 * @param[out] sites A NULL-terminated array of sites that have stored data. | 151 * @param[out] sites A NULL-terminated array of sites that have stored data. |
152 * Use FreeSiteList on the the array when done. | 152 * Use FreeSiteList on the array when done. |
153 * | 153 * |
154 * See also the NPP_GetSitesWithData function in NPAPI: | 154 * See also the NPP_GetSitesWithData function in NPAPI: |
155 * https://wiki.mozilla.org/NPAPI:ClearSiteData | 155 * https://wiki.mozilla.org/NPAPI:ClearSiteData |
156 */ | 156 */ |
157 [version=1.3] | 157 [version=1.3] |
158 void GetSitesWithData([in] str_t plugin_data_path, | 158 void GetSitesWithData([in] str_t plugin_data_path, |
159 [out] str_t[] sites); | 159 [out] str_t[] sites); |
160 | 160 |
161 /** | 161 /** |
162 * Frees the list of sites returned by GetSitesWithData. | 162 * Frees the list of sites returned by GetSitesWithData. |
163 * | 163 * |
164 * @param[in] sites A NULL-terminated array of strings. | 164 * @param[in] sites A NULL-terminated array of strings. |
165 */ | 165 */ |
166 [version=1.3] | 166 [version=1.3] |
167 void FreeSiteList([inout] str_t[] sites); | 167 void FreeSiteList([inout] str_t[] sites); |
168 }; | 168 }; |
OLD | NEW |