Re-enable index-basics-workers test to see if still times
[chromium-blink-merge.git] / content / public / browser / plugin_data_remover.h
blob128b40d7700b860485ffd3fa630a4a4d19e8cf8e
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_BROWSER_PLUGIN_DATA_REMOVER_H_
6 #define CONTENT_PUBLIC_BROWSER_PLUGIN_DATA_REMOVER_H_
8 #include <vector>
10 #include "base/time.h"
11 #include "content/common/content_export.h"
13 namespace base {
14 class WaitableEvent;
17 namespace webkit {
18 struct WebPluginInfo;
21 namespace content {
23 class BrowserContext;
25 class CONTENT_EXPORT PluginDataRemover {
26 public:
27 static PluginDataRemover* Create(content::BrowserContext* browser_context);
28 virtual ~PluginDataRemover() {}
30 // Starts removing plug-in data stored since |begin_time|.
31 virtual base::WaitableEvent* StartRemoving(base::Time begin_time) = 0;
33 // Returns a list of all plug-ins that support removing LSO data. This method
34 // will use cached plugin data. Call PluginService::GetPlugins() if the latest
35 // data is needed.
36 static void GetSupportedPlugins(std::vector<webkit::WebPluginInfo>* plugins);
39 } // namespace content
41 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_DATA_REMOVER_H_