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_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 Loading... |
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 Loading... |
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 |
OLD | NEW |