diff options
author | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-11 12:43:36 +0000 |
---|---|---|
committer | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-11 12:43:36 +0000 |
commit | a4b146fa78f4676a695f93ad4f27a7d6661cbdd3 (patch) | |
tree | 2bb81cd065fa9f50632b12c0d462af5fbd89364f /webkit/plugins/npapi/plugin_lib.h | |
parent | bb7f4d3e98d48d9930502dcbf9b8eaf6f58f174d (diff) | |
download | chromium_src-a4b146fa78f4676a695f93ad4f27a7d6661cbdd3.zip chromium_src-a4b146fa78f4676a695f93ad4f27a7d6661cbdd3.tar.gz chromium_src-a4b146fa78f4676a695f93ad4f27a7d6661cbdd3.tar.bz2 |
Update our use of the NPAPI ClearSiteData API.
BUG=58235
TEST=none
Review URL: http://codereview.chromium.org/6148006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71039 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/npapi/plugin_lib.h')
-rw-r--r-- | webkit/plugins/npapi/plugin_lib.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/plugins/npapi/plugin_lib.h b/webkit/plugins/npapi/plugin_lib.h index 67f5d82..0eab710 100644 --- a/webkit/plugins/npapi/plugin_lib.h +++ b/webkit/plugins/npapi/plugin_lib.h @@ -78,6 +78,13 @@ class PluginLib : public base::RefCounted<PluginLib> { // NPAPI method to shutdown a Plugin. void NP_Shutdown(void); + // NPAPI method to clear locally stored data (LSO's or "Flash cookies"). + NPError NP_ClearSiteData(const char* site, uint64 flags, uint64 max_age); + + // NPAPI method to get a NULL-terminated list of all sites under which data + // is stored. + char** NP_GetSitesWithData(); + int instance_count() const { return instance_count_; } // Prevents the library code from being unload when Unload() is called (since |