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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/content_browser.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 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.
4
5 #ifndef CONTENT_PUBLIC_BROWSER_PLUGIN_DATA_REMOVER_H_
6 #define CONTENT_PUBLIC_BROWSER_PLUGIN_DATA_REMOVER_H_
7 #pragma once
8
9 #include "base/time.h"
10 #include "content/common/content_export.h"
11
12 namespace base {
13 class WaitableEvent;
14 }
15
16 namespace content {
17 class ResourceContext;
18 }
19
20 namespace webkit {
21 struct WebPluginInfo;
22 }
23
24 namespace content {
25
26 class CONTENT_EXPORT PluginDataRemover {
27 public:
28 static PluginDataRemover* Create(
29 const content::ResourceContext& resource_context);
30 virtual ~PluginDataRemover() {}
31
32 // Starts removing plug-in data stored since |begin_time|.
33 virtual base::WaitableEvent* StartRemoving(base::Time begin_time) = 0;
34
35 // Returns whether there is a plug-in installed that supports removing LSO
36 // data. If it returns true |plugin| is also set to that plugin. This method
37 // will use cached plugin data. Call PluginService::GetPlugins() if the latest
38 // data is needed.
39 static bool IsSupported(webkit::WebPluginInfo* plugin);
40 };
41
42 } // namespace content
43
44 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_DATA_REMOVER_H_
OLDNEW
« 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