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

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

Issue 11787029: Remove the socket_count parameter from NaCl Launch IPC messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: socket_for_sel_ldr Created 7 years, 11 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 | « no previous file | chrome/browser/nacl_host/nacl_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 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/file_path.h" 10 #include "base/file_path.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 uint32 permission_bits, 52 uint32 permission_bits,
53 bool off_the_record); 53 bool off_the_record);
54 virtual ~NaClProcessHost(); 54 virtual ~NaClProcessHost();
55 55
56 // Do any minimal work that must be done at browser startup. 56 // Do any minimal work that must be done at browser startup.
57 static void EarlyStartup(); 57 static void EarlyStartup();
58 58
59 // Initialize the new NaCl process. Result is returned by sending ipc 59 // Initialize the new NaCl process. Result is returned by sending ipc
60 // message reply_msg. 60 // message reply_msg.
61 void Launch(ChromeRenderMessageFilter* chrome_render_message_filter, 61 void Launch(ChromeRenderMessageFilter* chrome_render_message_filter,
62 int socket_count,
63 IPC::Message* reply_msg, 62 IPC::Message* reply_msg,
64 scoped_refptr<ExtensionInfoMap> extension_info_map); 63 scoped_refptr<ExtensionInfoMap> extension_info_map);
65 64
66 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; 65 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
67 66
68 #if defined(OS_WIN) 67 #if defined(OS_WIN)
69 void OnProcessLaunchedByBroker(base::ProcessHandle handle); 68 void OnProcessLaunchedByBroker(base::ProcessHandle handle);
70 void OnDebugExceptionHandlerLaunchedByBroker(bool success); 69 void OnDebugExceptionHandlerLaunchedByBroker(bool success);
71 #endif 70 #endif
72 71
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 PluginListener ipc_plugin_listener_; 204 PluginListener ipc_plugin_listener_;
206 // Browser host for plugin process. 205 // Browser host for plugin process.
207 scoped_ptr<content::BrowserPpapiHost> ppapi_host_; 206 scoped_ptr<content::BrowserPpapiHost> ppapi_host_;
208 207
209 int render_view_id_; 208 int render_view_id_;
210 209
211 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); 210 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost);
212 }; 211 };
213 212
214 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ 213 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698