summaryrefslogtreecommitdiffstats
path: root/content/public/browser/plugin_data_remover.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-12 21:44:16 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-12 21:44:16 +0000
commit1bf0fb266408d260d7b01e8cfabb531937d8d953 (patch)
treece953516187873b48ff0454f653e10a662ea5a9c /content/public/browser/plugin_data_remover.h
parent5f1d99dceda9a8d8e137635b375d9e3b46921680 (diff)
downloadchromium_src-1bf0fb266408d260d7b01e8cfabb531937d8d953.zip
chromium_src-1bf0fb266408d260d7b01e8cfabb531937d8d953.tar.gz
chromium_src-1bf0fb266408d260d7b01e8cfabb531937d8d953.tar.bz2
Add an interface for Flash to clear its data.
This mirrors NPP_ClearSiteData. I basically just hooked into the existing infrastructure in the browser process, and create a new plugin. I changed the NPAPI IPC message to take the max age rather than compute it from the time so I did not have to duplicate the time computation code. Review URL: https://chromiumcodereview.appspot.com/9981015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/browser/plugin_data_remover.h')
-rw-r--r--content/public/browser/plugin_data_remover.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/content/public/browser/plugin_data_remover.h b/content/public/browser/plugin_data_remover.h
index cccd89a..88aeaee 100644
--- a/content/public/browser/plugin_data_remover.h
+++ b/content/public/browser/plugin_data_remover.h
@@ -13,19 +13,17 @@ namespace base {
class WaitableEvent;
}
-namespace content {
-class ResourceContext;
-}
-
namespace webkit {
struct WebPluginInfo;
}
namespace content {
+class BrowserContext;
+
class CONTENT_EXPORT PluginDataRemover {
public:
- static PluginDataRemover* Create(content::ResourceContext* resource_context);
+ static PluginDataRemover* Create(content::BrowserContext* browser_context);
virtual ~PluginDataRemover() {}
// Starts removing plug-in data stored since |begin_time|.