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

Side by Side Diff: native_client_sdk/src/libraries/nacl_mounts/pepper/all_interfaces.h

Issue 11887021: [NaCl SDK] Add HTTP mount. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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
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 5
6 /* Given an interface like this: 6 /* Given an interface like this:
7 * 7 *
8 * struct PPB_Frob { 8 * struct PPB_Frob {
9 * void (*Flange)(int32_t param1, char* param2); 9 * void (*Flange)(int32_t param1, char* param2);
10 * int32_t (*Shlep)(PP_CompletionCallback); 10 * int32_t (*Shlep)(PP_CompletionCallback);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 END_INTERFACE(FileSystemInterface, PPB_FileSystem) 62 END_INTERFACE(FileSystemInterface, PPB_FileSystem)
63 63
64 BEGIN_INTERFACE(MessagingInterface, PPB_Messaging, PPB_MESSAGING_INTERFACE) 64 BEGIN_INTERFACE(MessagingInterface, PPB_Messaging, PPB_MESSAGING_INTERFACE)
65 METHOD2(MessagingInterface, void, PostMessage, PP_Instance, struct PP_Var) 65 METHOD2(MessagingInterface, void, PostMessage, PP_Instance, struct PP_Var)
66 END_INTERFACE(MessagingInterface, PPB_Messaging) 66 END_INTERFACE(MessagingInterface, PPB_Messaging)
67 67
68 BEGIN_INTERFACE(VarInterface, PPB_Var, PPB_VAR_INTERFACE) 68 BEGIN_INTERFACE(VarInterface, PPB_Var, PPB_VAR_INTERFACE)
69 METHOD2(VarInterface, struct PP_Var, VarFromUtf8, const char *, uint32_t) 69 METHOD2(VarInterface, struct PP_Var, VarFromUtf8, const char *, uint32_t)
70 METHOD2(VarInterface, const char*, VarToUtf8, PP_Var, uint32_t*) 70 METHOD2(VarInterface, const char*, VarToUtf8, PP_Var, uint32_t*)
71 END_INTERFACE(VarInterface, PPB_Var) 71 END_INTERFACE(VarInterface, PPB_Var)
72
73 BEGIN_INTERFACE(URLLoaderInterface, PPB_URLLoader, PPB_URLLOADER_INTERFACE)
74 METHOD1(URLLoaderInterface, PP_Resource, Create, PP_Instance)
75 METHOD3(URLLoaderInterface, int32_t, Open, PP_Resource, PP_Resource,
76 PP_CompletionCallback)
77 METHOD1(URLLoaderInterface, PP_Resource, GetResponseInfo, PP_Resource)
78 METHOD4(URLLoaderInterface, int32_t, ReadResponseBody, PP_Resource, void*,
79 int32_t, PP_CompletionCallback)
80 METHOD1(URLLoaderInterface, void, Close, PP_Resource)
81 END_INTERFACE(URLLoaderInterface, PPB_URLLoader)
82
83 BEGIN_INTERFACE(URLRequestInfoInterface, PPB_URLRequestInfo,
84 PPB_URLREQUESTINFO_INTERFACE)
85 METHOD1(URLRequestInfoInterface, PP_Resource, Create, PP_Instance)
86 METHOD3(URLRequestInfoInterface, PP_Bool, SetProperty, PP_Resource,
87 PP_URLRequestProperty, PP_Var)
88 END_INTERFACE(URLRequestInfoInterface, PPB_URLRequestInfo)
89
90 BEGIN_INTERFACE(URLResponseInfoInterface, PPB_URLResponseInfo,
91 PPB_URLRESPONSEINFO_INTERFACE)
92 METHOD2(URLResponseInfoInterface, PP_Var, GetProperty, PP_Resource,
93 PP_URLResponseProperty)
94 END_INTERFACE(URLResponseInfoInterface, PPB_URLResponseInfo)
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_mounts/path.cc ('k') | native_client_sdk/src/libraries/nacl_mounts/pepper_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698