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

Unified Diff: native_client_sdk/src/libraries/nacl_io/kernel_proxy.h

Issue 23005005: [NaCl SDK] nacl_io: Add initial implementations of kill and signal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io/kernel_proxy.h
diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_proxy.h b/native_client_sdk/src/libraries/nacl_io/kernel_proxy.h
index 6877a82df0436c97e10fe8253e648f8d65990547..b8ca04eda2723246627064acbe13b16ceadd6b13 100644
--- a/native_client_sdk/src/libraries/nacl_io/kernel_proxy.h
+++ b/native_client_sdk/src/libraries/nacl_io/kernel_proxy.h
@@ -22,6 +22,9 @@ struct timeval;
namespace nacl_io {
class PepperInterface;
+class SignalEmitter;
+
+typedef sdk_util::ScopedRef<SignalEmitter> ScopedSignalEmitter;
// KernelProxy provide one-to-one mapping for libc kernel calls. Calls to the
// proxy will result in IO access to the provided Mount and MountNode objects.
@@ -183,6 +186,7 @@ class KernelProxy : protected KernelObject {
int dev_;
PepperInterface* ppapi_;
static KernelProxy *s_instance_;
+ sighandler_t sigwinch_handler_;
#ifdef PROVIDES_SOCKET_API
HostResolver host_resolver_;
#endif
@@ -191,6 +195,7 @@ class KernelProxy : protected KernelObject {
virtual int AcquireSocketHandle(int fd, ScopedKernelHandle* handle);
#endif
+ ScopedSignalEmitter signal_emitter_;
DISALLOW_COPY_AND_ASSIGN(KernelProxy);
};
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/ioctl.h ('k') | native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698