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

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

Issue 11368019: Add support for external out-of-process PPAPI plugins in the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | « content/browser/pepper_helper.cc ('k') | content/browser/ppapi_plugin_process_host.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) 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_PPAPI_PLUGIN_PROCESS_HOST_H_ 5 #ifndef CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
6 #define CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ 6 #define CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 void CancelRequests(); 132 void CancelRequests();
133 133
134 // IPC message handlers. 134 // IPC message handlers.
135 void OnRendererPluginChannelCreated(const IPC::ChannelHandle& handle); 135 void OnRendererPluginChannelCreated(const IPC::ChannelHandle& handle);
136 136
137 // Handles most requests from the plugin. May be NULL. 137 // Handles most requests from the plugin. May be NULL.
138 scoped_refptr<PepperMessageFilter> filter_; 138 scoped_refptr<PepperMessageFilter> filter_;
139 139
140 ppapi::PpapiPermissions permissions_; 140 ppapi::PpapiPermissions permissions_;
141 scoped_refptr<BrowserPpapiHostImpl> host_impl_; 141 scoped_ptr<BrowserPpapiHostImpl> host_impl_;
142 142
143 // Handles filesystem requests from flash plugins. May be NULL. 143 // Handles filesystem requests from flash plugins. May be NULL.
144 scoped_refptr<PepperFileMessageFilter> file_filter_; 144 scoped_refptr<PepperFileMessageFilter> file_filter_;
145 145
146 // Observes network changes. May be NULL. 146 // Observes network changes. May be NULL.
147 scoped_ptr<PluginNetworkObserver> network_observer_; 147 scoped_ptr<PluginNetworkObserver> network_observer_;
148 148
149 // Channel requests that we are waiting to send to the plugin process once 149 // Channel requests that we are waiting to send to the plugin process once
150 // the channel is opened. 150 // the channel is opened.
151 std::vector<Client*> pending_requests_; 151 std::vector<Client*> pending_requests_;
(...skipping 30 matching lines...) Expand all
182 public: 182 public:
183 PpapiBrokerProcessHostIterator() 183 PpapiBrokerProcessHostIterator()
184 : BrowserChildProcessHostTypeIterator< 184 : BrowserChildProcessHostTypeIterator<
185 PpapiPluginProcessHost>(PROCESS_TYPE_PPAPI_BROKER) {} 185 PpapiPluginProcessHost>(PROCESS_TYPE_PPAPI_BROKER) {}
186 }; 186 };
187 187
188 } // namespace content 188 } // namespace content
189 189
190 #endif // CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ 190 #endif // CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
191 191
OLDNEW
« no previous file with comments | « content/browser/pepper_helper.cc ('k') | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698