Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 * found in the LICENSE file. | |
| 4 */ | |
| 5 | |
| 6 /** | |
| 7 * This file contains the <code>PPP_Flash_ClearSiteData</code> interface. | |
| 8 */ | |
| 9 | |
| 10 label Chrome { | |
| 11 M20 = 1.0 | |
| 12 }; | |
| 13 | |
| 14 /** | |
| 15 * This interface allows the browser to request the plugin to clear site data. | |
| 16 */ | |
| 17 interface PPP_Flash_ClearSiteData { | |
| 18 /** | |
| 19 * This function allows the plugin to implement the "Clear site data" feature. | |
| 20 * | |
| 21 * @arg site String specifying which site to clear the data for. This will | |
| 22 * be null to clear data for all sites. | |
| 23 * | |
| 24 * @arg flags Currently always 0 in Chrome to clear all data. This may be | |
| 25 * extended in the future to clear only specific types of data. | |
| 26 * | |
| 27 * @arg max_age The maximum age in seconds to clear data for. This allows the | |
| 28 * plugin to implement "clear past hour" and "clear past data", etc. | |
| 29 * | |
| 30 * See also the NPP_ClearSiteData function in NPAPI. | |
| 31 * https://wiki.mozilla.org/NPAPI:ClearSiteData | |
| 32 */ | |
| 33 void ClearSiteData(str_t site, | |
|
Bernhard Bauer
2012/04/05 10:01:38
Should we return an error code here?
brettw
2012/04/05 14:47:23
It seemed like Chrome didn't do anything with this
Bernhard Bauer
2012/04/05 14:49:08
It might be useful if we have UI to show errors in
viettrungluu
2012/04/05 17:22:24
This function needs to specify where the Flash dat
Bernhard Bauer
2012/04/05 18:49:37
I thought all versions of Flash, including Flapper
| |
| 34 uint64_t flags, | |
| 35 uint64_t max_age); | |
| 36 }; | |
| 37 | |
| OLD | NEW |