| Index: ppapi/api/private/ppp_flash_browser_operations.idl
|
| diff --git a/ppapi/api/private/ppp_flash_browser_operations.idl b/ppapi/api/private/ppp_flash_browser_operations.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f7dcd8cc2046e63b5c99712c6b3f1dc2b2e12005
|
| --- /dev/null
|
| +++ b/ppapi/api/private/ppp_flash_browser_operations.idl
|
| @@ -0,0 +1,45 @@
|
| +/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| + */
|
| +
|
| +/**
|
| + * This file contains the <code>PPP_Flash_BrowserOperations</code> interface.
|
| + */
|
| +
|
| +label Chrome {
|
| + M20 = 1.0
|
| +};
|
| +
|
| +/**
|
| + * This interface allows the browser to request the plugin do things.
|
| + */
|
| +interface PPP_Flash_BrowserOperations {
|
| + /**
|
| + * This function allows the plugin to implement the "Clear site data" feature.
|
| + *
|
| + * @plugin_data_path String containing the directory where the plugin data is
|
| + * stored. On UTF16 systems (Windows), this will be encoded as UTF-8. It will
|
| + * be an absolute path and will not have a directory separator (slash) at the
|
| + * end.
|
| + *
|
| + * @arg site String specifying which site to clear the data for. This will
|
| + * be null to clear data for all sites.
|
| + *
|
| + * @arg flags Currently always 0 in Chrome to clear all data. This may be
|
| + * extended in the future to clear only specific types of data.
|
| + *
|
| + * @arg max_age The maximum age in seconds to clear data for. This allows the
|
| + * plugin to implement "clear past hour" and "clear past data", etc.
|
| + *
|
| + * @return PP_TRUE on success, PP_FALSE on failure.
|
| + *
|
| + * See also the NPP_ClearSiteData function in NPAPI.
|
| + * https://wiki.mozilla.org/NPAPI:ClearSiteData
|
| + */
|
| + PP_Bool ClearSiteData(str_t plugin_data_path,
|
| + str_t site,
|
| + uint64_t flags,
|
| + uint64_t max_age);
|
| +};
|
| +
|
|
|