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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
« no previous file with comments | « content/browser/mach_broker_mac.cc ('k') | content/browser/plugin_service.cc » ('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 // 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 CONTENT_BROWSER_PLUGIN_SERVICE_H_ 8 #ifndef CONTENT_BROWSER_PLUGIN_SERVICE_H_
9 #define CONTENT_BROWSER_PLUGIN_SERVICE_H_ 9 #define CONTENT_BROWSER_PLUGIN_SERVICE_H_
10 #pragma once 10 #pragma once
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 // Creates the PluginService object, but doesn't actually build the plugin 124 // Creates the PluginService object, but doesn't actually build the plugin
125 // list yet. It's generated lazily. 125 // list yet. It's generated lazily.
126 PluginService(); 126 PluginService();
127 virtual ~PluginService(); 127 virtual ~PluginService();
128 128
129 // base::WaitableEventWatcher::Delegate implementation. 129 // base::WaitableEventWatcher::Delegate implementation.
130 virtual void OnWaitableEventSignaled(base::WaitableEvent* waitable_event); 130 virtual void OnWaitableEventSignaled(base::WaitableEvent* waitable_event);
131 131
132 // NotificationObserver implementation 132 // NotificationObserver implementation
133 virtual void Observe(NotificationType type, const NotificationSource& source, 133 virtual void Observe(int type, const NotificationSource& source,
134 const NotificationDetails& details); 134 const NotificationDetails& details);
135 135
136 void RegisterPepperPlugins(); 136 void RegisterPepperPlugins();
137 137
138 PepperPluginInfo* GetRegisteredPpapiPluginInfo(const FilePath& plugin_path); 138 PepperPluginInfo* GetRegisteredPpapiPluginInfo(const FilePath& plugin_path);
139 139
140 // Helper so we can do the plugin lookup on the FILE thread. 140 // Helper so we can do the plugin lookup on the FILE thread.
141 void GetAllowedPluginForOpenChannelToPlugin( 141 void GetAllowedPluginForOpenChannelToPlugin(
142 int render_process_id, 142 int render_process_id,
143 int render_view_id, 143 int render_view_id,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 std::vector<OverriddenPlugin> overridden_plugins_; 189 std::vector<OverriddenPlugin> overridden_plugins_;
190 base::Lock overridden_plugins_lock_; 190 base::Lock overridden_plugins_lock_;
191 191
192 DISALLOW_COPY_AND_ASSIGN(PluginService); 192 DISALLOW_COPY_AND_ASSIGN(PluginService);
193 }; 193 };
194 194
195 DISABLE_RUNNABLE_METHOD_REFCOUNT(PluginService); 195 DISABLE_RUNNABLE_METHOD_REFCOUNT(PluginService);
196 196
197 #endif // CONTENT_BROWSER_PLUGIN_SERVICE_H_ 197 #endif // CONTENT_BROWSER_PLUGIN_SERVICE_H_
OLDNEW
« no previous file with comments | « content/browser/mach_broker_mac.cc ('k') | content/browser/plugin_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698