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

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

Issue 303223007: [NaCl SDK] nacl_io: Run clang-format over nacl_io sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
6 /* Given an interface like this: 5 /* Given an interface like this:
7 * 6 *
8 * struct PPB_Frob_1_1 { 7 * struct PPB_Frob_1_1 {
9 * void (*Flange)(int32_t param1, char* param2); 8 * void (*Flange)(int32_t param1, char* param2);
10 * int32_t (*Shlep)(PP_CompletionCallback); 9 * int32_t (*Shlep)(PP_CompletionCallback);
11 * }; 10 * };
12 * 11 *
13 * Write a set of macros like this: 12 * Write a set of macros like this:
14 * 13 *
15 * BEGIN_INTERFACE(FrobInterface, PPB_Frob_1_1, PPB_FROB_INTERFACE_1_1) 14 * BEGIN_INTERFACE(FrobInterface, PPB_Frob_1_1, PPB_FROB_INTERFACE_1_1)
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 PP_CompletionCallback) 217 PP_CompletionCallback)
219 METHOD1(UDPSocketInterface, PP_Resource, GetBoundAddress, PP_Resource) 218 METHOD1(UDPSocketInterface, PP_Resource, GetBoundAddress, PP_Resource)
220 METHOD5(UDPSocketInterface, int32_t, RecvFrom, PP_Resource, char*, int32_t, 219 METHOD5(UDPSocketInterface, int32_t, RecvFrom, PP_Resource, char*, int32_t,
221 PP_Resource*, PP_CompletionCallback) 220 PP_Resource*, PP_CompletionCallback)
222 METHOD5(UDPSocketInterface, int32_t, SendTo, PP_Resource, const char*, 221 METHOD5(UDPSocketInterface, int32_t, SendTo, PP_Resource, const char*,
223 int32_t, PP_Resource, PP_CompletionCallback) 222 int32_t, PP_Resource, PP_CompletionCallback)
224 METHOD1(UDPSocketInterface, void, Close, PP_Resource) 223 METHOD1(UDPSocketInterface, void, Close, PP_Resource)
225 METHOD4(UDPSocketInterface, int32_t, SetOption, PP_Resource, 224 METHOD4(UDPSocketInterface, int32_t, SetOption, PP_Resource,
226 PP_UDPSocket_Option, PP_Var, PP_CompletionCallback) 225 PP_UDPSocket_Option, PP_Var, PP_CompletionCallback)
227 END_INTERFACE(UDPSocketInterface, PPB_UDPSocket_1_0) 226 END_INTERFACE(UDPSocketInterface, PPB_UDPSocket_1_0)
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/path.cc ('k') | native_client_sdk/src/libraries/nacl_io/pepper_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698