Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(796)

Unified Diff: content/browser/plugin_data_remover_impl.h

Issue 9981015: Add an interface for Flash to clear its data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/base/in_process_browser_test.cc ('k') | content/browser/plugin_data_remover_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_data_remover_impl.h
diff --git a/content/browser/plugin_data_remover_impl.h b/content/browser/plugin_data_remover_impl.h
index 91e084cfae587230d9fff6e574e127512d8a2149..d0ac28b7cd3f9d3a84f8905aecfbb11fd2bf8e92 100644
--- a/content/browser/plugin_data_remover_impl.h
+++ b/content/browser/plugin_data_remover_impl.h
@@ -10,14 +10,17 @@
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
+#include "base/time.h"
#include "content/public/browser/plugin_data_remover.h"
-class CONTENT_EXPORT PluginDataRemoverImpl : public content::PluginDataRemover {
+namespace content {
+
+class CONTENT_EXPORT PluginDataRemoverImpl : public PluginDataRemover {
public:
- explicit PluginDataRemoverImpl(content::ResourceContext* resource_context);
+ explicit PluginDataRemoverImpl(BrowserContext* browser_context);
virtual ~PluginDataRemoverImpl();
- // content::PluginDataRemover implementation:
+ // PluginDataRemover implementation:
virtual base::WaitableEvent* StartRemoving(base::Time begin_time) OVERRIDE;
// The plug-in whose data should be removed (usually Flash) is specified via
@@ -29,8 +32,9 @@ class CONTENT_EXPORT PluginDataRemoverImpl : public content::PluginDataRemover {
class Context;
std::string mime_type_;
- // The resource context for the profile.
- content::ResourceContext* resource_context_;
+
+ // The browser context for the profile.
+ BrowserContext* browser_context_;
// This allows this object to be deleted on the UI thread while it's still
// being used on the IO thread.
@@ -39,4 +43,6 @@ class CONTENT_EXPORT PluginDataRemoverImpl : public content::PluginDataRemover {
DISALLOW_COPY_AND_ASSIGN(PluginDataRemoverImpl);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_PLUGIN_DATA_REMOVER_IMPL_H_
« no previous file with comments | « chrome/test/base/in_process_browser_test.cc ('k') | content/browser/plugin_data_remover_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698