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

Side by Side Diff: chrome/browser/nacl_host/nacl_process_host.h

Issue 61063003: Keep NaCl plugins used in app background pages alive when active. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: working prototype Created 7 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
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 CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_
6 #define CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 bool off_the_record_; 224 bool off_the_record_;
225 225
226 const base::FilePath profile_directory_; 226 const base::FilePath profile_directory_;
227 227
228 // Channel proxy to terminate the NaCl-Browser PPAPI channel. 228 // Channel proxy to terminate the NaCl-Browser PPAPI channel.
229 scoped_ptr<IPC::ChannelProxy> ipc_proxy_channel_; 229 scoped_ptr<IPC::ChannelProxy> ipc_proxy_channel_;
230 // Plugin listener, to forward browser channel messages to us. 230 // Plugin listener, to forward browser channel messages to us.
231 PluginListener ipc_plugin_listener_; 231 PluginListener ipc_plugin_listener_;
232 // Browser host for plugin process. 232 // Browser host for plugin process.
233 scoped_ptr<content::BrowserPpapiHost> ppapi_host_; 233 scoped_refptr<content::BrowserPpapiHost> ppapi_host_;
234 234
235 int render_view_id_; 235 int render_view_id_;
236 236
237 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); 237 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost);
238 }; 238 };
239 239
240 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ 240 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | chrome/browser/nacl_host/nacl_process_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698