| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 13 #include "content/public/browser/plugin_data_remover.h" | 14 #include "content/public/browser/plugin_data_remover.h" |
| 14 | 15 |
| 15 namespace content { | 16 namespace content { |
| 16 | 17 |
| 17 class CONTENT_EXPORT PluginDataRemoverImpl : public PluginDataRemover { | 18 class CONTENT_EXPORT PluginDataRemoverImpl : public PluginDataRemover { |
| 18 public: | 19 public: |
| 19 explicit PluginDataRemoverImpl(BrowserContext* browser_context); | 20 explicit PluginDataRemoverImpl(BrowserContext* browser_context); |
| 20 ~PluginDataRemoverImpl() override; | 21 ~PluginDataRemoverImpl() override; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 38 // This allows this object to be deleted on the UI thread while it's still | 39 // This allows this object to be deleted on the UI thread while it's still |
| 39 // being used on the IO thread. | 40 // being used on the IO thread. |
| 40 scoped_refptr<Context> context_; | 41 scoped_refptr<Context> context_; |
| 41 | 42 |
| 42 DISALLOW_COPY_AND_ASSIGN(PluginDataRemoverImpl); | 43 DISALLOW_COPY_AND_ASSIGN(PluginDataRemoverImpl); |
| 43 }; | 44 }; |
| 44 | 45 |
| 45 } // namespace content | 46 } // namespace content |
| 46 | 47 |
| 47 #endif // CONTENT_BROWSER_PLUGIN_DATA_REMOVER_IMPL_H_ | 48 #endif // CONTENT_BROWSER_PLUGIN_DATA_REMOVER_IMPL_H_ |
| OLD | NEW |