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

Unified Diff: content/public/browser/plugin_data_remover.h

Issue 8590016: Move the PluginDataRemover class to content, and remove the chrome pieces from it. This class rea... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « content/content_browser.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/plugin_data_remover.h
===================================================================
--- content/public/browser/plugin_data_remover.h (revision 0)
+++ content/public/browser/plugin_data_remover.h (revision 0)
@@ -0,0 +1,44 @@
+// Copyright (c) 2011 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.
+
+#ifndef CONTENT_PUBLIC_BROWSER_PLUGIN_DATA_REMOVER_H_
+#define CONTENT_PUBLIC_BROWSER_PLUGIN_DATA_REMOVER_H_
+#pragma once
+
+#include "base/time.h"
+#include "content/common/content_export.h"
+
+namespace base {
+class WaitableEvent;
+}
+
+namespace content {
+class ResourceContext;
+}
+
+namespace webkit {
+struct WebPluginInfo;
+}
+
+namespace content {
+
+class CONTENT_EXPORT PluginDataRemover {
+ public:
+ static PluginDataRemover* Create(
+ const content::ResourceContext& resource_context);
+ virtual ~PluginDataRemover() {}
+
+ // Starts removing plug-in data stored since |begin_time|.
+ virtual base::WaitableEvent* StartRemoving(base::Time begin_time) = 0;
+
+ // Returns whether there is a plug-in installed that supports removing LSO
+ // data. If it returns true |plugin| is also set to that plugin. This method
+ // will use cached plugin data. Call PluginService::GetPlugins() if the latest
+ // data is needed.
+ static bool IsSupported(webkit::WebPluginInfo* plugin);
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_PLUGIN_DATA_REMOVER_H_
Property changes on: content\public\browser\plugin_data_remover.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « content/content_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698