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

Unified Diff: native_client_sdk/src/libraries/nacl_io/pepper/all_interfaces.h

Issue 23498015: [NaCl SDK] Support non blocking TCP/UDP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 7 years, 3 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/pepper/all_interfaces.h
diff --git a/native_client_sdk/src/libraries/nacl_io/pepper/all_interfaces.h b/native_client_sdk/src/libraries/nacl_io/pepper/all_interfaces.h
index f1fae298544a0014a2b1867e5cc09702e90be461..8cdacb447159f824d0c0c58bd4920757904cf74b 100644
--- a/native_client_sdk/src/libraries/nacl_io/pepper/all_interfaces.h
+++ b/native_client_sdk/src/libraries/nacl_io/pepper/all_interfaces.h
@@ -65,6 +65,18 @@ BEGIN_INTERFACE(FileSystemInterface, PPB_FileSystem,
PP_CompletionCallback)
END_INTERFACE(FileSystemInterface, PPB_FileSystem)
+BEGIN_INTERFACE(MessageLoopInterface, PPB_MessageLoop,
+ PPB_MESSAGELOOP_INTERFACE_1_0)
+ METHOD1(MessageLoopInterface, PP_Resource, Create, PP_Instance)
+ METHOD1(MessageLoopInterface, int32_t, AttachToCurrentThread, PP_Resource)
+ METHOD1(MessageLoopInterface, int32_t, Run, PP_Resource)
+ METHOD3(MessageLoopInterface, int32_t, PostWork, PP_Resource,
+ struct PP_CompletionCallback, int64_t)
+ METHOD2(MessageLoopInterface, int32_t, PostQuit, PP_Resource, PP_Bool)
+ METHOD0(MessageLoopInterface, PP_Resource, GetCurrent)
+ METHOD0(MessageLoopInterface, PP_Resource, GetForMainThread)
+END_INTERFACE(MessageLoopInterface, PPB_MessageLoop)
+
BEGIN_INTERFACE(MessagingInterface, PPB_Messaging, PPB_MESSAGING_INTERFACE_1_0)
METHOD2(MessagingInterface, void, PostMessage, PP_Instance, PP_Var)
END_INTERFACE(MessagingInterface, PPB_Messaging)
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/packet.cc ('k') | native_client_sdk/src/libraries/nacl_io/syscalls/pipe.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698