OLD | NEW |
---|---|
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 Loading... | |
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_ |
OLD | NEW |