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

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

Issue 93116: Chrome side of using WebPluginListBuilder.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // This class responds to requests from renderers for the list of plugins, and 5 // This class responds to requests from renderers for the list of plugins, and
6 // also a proxy object for plugin instances. 6 // also a proxy object for plugin instances.
7 7
8 #ifndef CHROME_BROWSER_PLUGIN_SERVICE_H_ 8 #ifndef CHROME_BROWSER_PLUGIN_SERVICE_H_
9 #define CHROME_BROWSER_PLUGIN_SERVICE_H_ 9 #define CHROME_BROWSER_PLUGIN_SERVICE_H_
10 10
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/hash_tables.h" 14 #include "base/hash_tables.h"
15 #include "base/lock.h" 15 #include "base/lock.h"
16 #include "base/ref_counted.h" 16 #include "base/ref_counted.h"
17 #include "base/singleton.h" 17 #include "base/singleton.h"
18 #include "base/waitable_event_watcher.h" 18 #include "base/waitable_event_watcher.h"
19 #include "chrome/browser/browser_process.h" 19 #include "chrome/browser/browser_process.h"
20 #include "webkit/glue/webplugin.h" 20 #include "webkit/glue/webplugininfo.h"
21 21
22 #if defined(OS_WIN) 22 #if defined(OS_WIN)
23 #include "base/registry.h" 23 #include "base/registry.h"
24 #endif 24 #endif
25 25
26 namespace IPC { 26 namespace IPC {
27 class Message; 27 class Message;
28 } 28 }
29 29
30 class GURL;
30 class MessageLoop; 31 class MessageLoop;
31 class PluginProcessHost; 32 class PluginProcessHost;
32 class URLRequestContext; 33 class URLRequestContext;
33 class ResourceDispatcherHost; 34 class ResourceDispatcherHost;
34 class ResourceMessageFilter; 35 class ResourceMessageFilter;
35 36
36 // This can be called on the main thread and IO thread. However it must 37 // This can be called on the main thread and IO thread. However it must
37 // be created on the main thread. 38 // be created on the main thread.
38 class PluginService : base::WaitableEventWatcher::Delegate { 39 class PluginService : base::WaitableEventWatcher::Delegate {
39 public: 40 public:
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 scoped_ptr<base::WaitableEvent> hkcu_event_; 145 scoped_ptr<base::WaitableEvent> hkcu_event_;
145 scoped_ptr<base::WaitableEvent> hklm_event_; 146 scoped_ptr<base::WaitableEvent> hklm_event_;
146 base::WaitableEventWatcher hkcu_watcher_; 147 base::WaitableEventWatcher hkcu_watcher_;
147 base::WaitableEventWatcher hklm_watcher_; 148 base::WaitableEventWatcher hklm_watcher_;
148 #endif 149 #endif
149 150
150 DISALLOW_COPY_AND_ASSIGN(PluginService); 151 DISALLOW_COPY_AND_ASSIGN(PluginService);
151 }; 152 };
152 153
153 #endif // CHROME_BROWSER_PLUGIN_SERVICE_H_ 154 #endif // CHROME_BROWSER_PLUGIN_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugin_process_host.h ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698