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

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

Issue 10351013: Return a list of plugins that support clearing site data instead of the first one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment 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 | « content/browser/plugin_data_remover_impl.cc ('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
diff --git a/content/public/browser/plugin_data_remover.h b/content/public/browser/plugin_data_remover.h
index 88aeaee0d67d87366f9a891b261d9f718296a31e..5988848a19631bda32fd3403ce08514e4addf6fe 100644
--- a/content/public/browser/plugin_data_remover.h
+++ b/content/public/browser/plugin_data_remover.h
@@ -6,6 +6,8 @@
#define CONTENT_PUBLIC_BROWSER_PLUGIN_DATA_REMOVER_H_
#pragma once
+#include <vector>
+
#include "base/time.h"
#include "content/common/content_export.h"
@@ -29,11 +31,10 @@ class CONTENT_EXPORT 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
+ // Returns a list of all plug-ins that support removing LSO data. This method
// will use cached plugin data. Call PluginService::GetPlugins() if the latest
// data is needed.
- static bool IsSupported(webkit::WebPluginInfo* plugin);
+ static void GetSupportedPlugins(std::vector<webkit::WebPluginInfo>* plugins);
};
} // namespace content
« no previous file with comments | « content/browser/plugin_data_remover_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698