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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_PLUGIN_DATA_REMOVER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_PLUGIN_DATA_REMOVER_IMPL_H_
6 #define CONTENT_BROWSER_PLUGIN_DATA_REMOVER_IMPL_H_ 6 #define CONTENT_BROWSER_PLUGIN_DATA_REMOVER_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h"
Bernhard Bauer 2012/04/05 10:01:38 Nit: Is this necessary?
13 #include "content/public/browser/plugin_data_remover.h" 14 #include "content/public/browser/plugin_data_remover.h"
14 15
15 class CONTENT_EXPORT PluginDataRemoverImpl : public content::PluginDataRemover { 16 class CONTENT_EXPORT PluginDataRemoverImpl : public content::PluginDataRemover {
16 public: 17 public:
17 explicit PluginDataRemoverImpl(content::ResourceContext* resource_context); 18 explicit PluginDataRemoverImpl(content::ResourceContext* resource_context);
18 virtual ~PluginDataRemoverImpl(); 19 virtual ~PluginDataRemoverImpl();
19 20
20 // content::PluginDataRemover implementation: 21 // content::PluginDataRemover implementation:
21 virtual base::WaitableEvent* StartRemoving(base::Time begin_time) OVERRIDE; 22 virtual base::WaitableEvent* StartRemoving(base::Time begin_time) OVERRIDE;
22 23
(...skipping 10 matching lines...) Expand all
33 content::ResourceContext* resource_context_; 34 content::ResourceContext* resource_context_;
34 35
35 // This allows this object to be deleted on the UI thread while it's still 36 // This allows this object to be deleted on the UI thread while it's still
36 // being used on the IO thread. 37 // being used on the IO thread.
37 scoped_refptr<Context> context_; 38 scoped_refptr<Context> context_;
38 39
39 DISALLOW_COPY_AND_ASSIGN(PluginDataRemoverImpl); 40 DISALLOW_COPY_AND_ASSIGN(PluginDataRemoverImpl);
40 }; 41 };
41 42
42 #endif // CONTENT_BROWSER_PLUGIN_DATA_REMOVER_IMPL_H_ 43 #endif // CONTENT_BROWSER_PLUGIN_DATA_REMOVER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/plugin_data_remover_impl.cc » ('j') | ppapi/api/private/ppp_flash_clear_site_data.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698