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

Side by Side Diff: chrome/browser/plugin_data_remover.h

Issue 8566028: Cleanup: Remove more forward declarations in various chrome/browser directories. (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 | « chrome/browser/page_info_model.h ('k') | chrome/browser/plugin_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_BROWSER_PLUGIN_DATA_REMOVER_H_ 5 #ifndef CHROME_BROWSER_PLUGIN_DATA_REMOVER_H_
6 #define CHROME_BROWSER_PLUGIN_DATA_REMOVER_H_ 6 #define CHROME_BROWSER_PLUGIN_DATA_REMOVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string>
10
9 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
10 #include "base/time.h" 12 #include "base/time.h"
11 #include "content/browser/plugin_process_host.h" 13 #include "content/browser/plugin_process_host.h"
12 14
13 class PluginPrefs; 15 class PluginPrefs;
14 class Profile; 16 class Profile;
15 class Task;
16 17
17 namespace base { 18 namespace base {
18 class MessageLoopProxy;
19 class WaitableEvent; 19 class WaitableEvent;
20 } 20 }
21 21
22 class PluginDataRemover : public base::RefCountedThreadSafe<PluginDataRemover>, 22 class PluginDataRemover : public base::RefCountedThreadSafe<PluginDataRemover>,
23 public PluginProcessHost::Client, 23 public PluginProcessHost::Client,
24 public IPC::Channel::Listener { 24 public IPC::Channel::Listener {
25 public: 25 public:
26 explicit PluginDataRemover(Profile* profile); 26 explicit PluginDataRemover(Profile* profile);
27 27
28 // The plug-in whose data should be removed (usually Flash) is specified via 28 // The plug-in whose data should be removed (usually Flash) is specified via
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 scoped_ptr<base::WaitableEvent> event_; 87 scoped_ptr<base::WaitableEvent> event_;
88 // We own the channel, but it's used on the IO thread, so it needs to be 88 // We own the channel, but it's used on the IO thread, so it needs to be
89 // deleted there. It's NULL until we have opened a connection to the plug-in 89 // deleted there. It's NULL until we have opened a connection to the plug-in
90 // process. 90 // process.
91 IPC::Channel* channel_; 91 IPC::Channel* channel_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(PluginDataRemover); 93 DISALLOW_COPY_AND_ASSIGN(PluginDataRemover);
94 }; 94 };
95 95
96 #endif // CHROME_BROWSER_PLUGIN_DATA_REMOVER_H_ 96 #endif // CHROME_BROWSER_PLUGIN_DATA_REMOVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/page_info_model.h ('k') | chrome/browser/plugin_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698