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

Side by Side Diff: src/untrusted/init/kernel_service.h

Issue 25147002: nacl_init Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 years, 2 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 | « src/untrusted/init/irt_dev_process.c ('k') | src/untrusted/init/kernel_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
(Empty)
1 // Copyright (c) 2013 The Native Client Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NATIVE_CLIENT_SRC_UNTRUSTED_INIT_KERNEL_SERVICE_H_
6 #define NATIVE_CLIENT_SRC_UNTRUSTED_INIT_KERNEL_SERVICE_H_
7
8 namespace nacl {
9
10 class KernelServiceClient : public SrpcClientConnection {
11 public:
12 KernelServiceClient() {}
13
14 // Return true if successful. When successful, |*child_sockaddr|
15 // contains the socket address to the service runtime for the newly
16 // created subprocess, and |*app_sockaddr| contains the application
17 // (untrusted) socket address.
18 bool CreateProcess(int *child_sockaddr, int *app_sockaddr);
19
20 ServiceRuntimeClient* ServiceRuntimeClientFactory(int child_sockaddr);
21 };
22
23 } // namespace nacl
24
25 #endif
OLDNEW
« no previous file with comments | « src/untrusted/init/irt_dev_process.c ('k') | src/untrusted/init/kernel_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698