| OLD | NEW |
| 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); |
| 11 * }; | 11 * }; |
| 12 * | 12 * |
| 13 * Write a set of macros like this: | 13 * Write a set of macros like this: |
| 14 * | 14 * |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 METHOD1(URLRequestInfoInterface, PP_Resource, Create, PP_Instance) | 83 METHOD1(URLRequestInfoInterface, PP_Resource, Create, PP_Instance) |
| 84 METHOD3(URLRequestInfoInterface, PP_Bool, SetProperty, PP_Resource, | 84 METHOD3(URLRequestInfoInterface, PP_Bool, SetProperty, PP_Resource, |
| 85 PP_URLRequestProperty, PP_Var) | 85 PP_URLRequestProperty, PP_Var) |
| 86 END_INTERFACE(URLRequestInfoInterface, PPB_URLRequestInfo) | 86 END_INTERFACE(URLRequestInfoInterface, PPB_URLRequestInfo) |
| 87 | 87 |
| 88 BEGIN_INTERFACE(URLResponseInfoInterface, PPB_URLResponseInfo, | 88 BEGIN_INTERFACE(URLResponseInfoInterface, PPB_URLResponseInfo, |
| 89 PPB_URLRESPONSEINFO_INTERFACE_1_0) | 89 PPB_URLRESPONSEINFO_INTERFACE_1_0) |
| 90 METHOD2(URLResponseInfoInterface, PP_Var, GetProperty, PP_Resource, | 90 METHOD2(URLResponseInfoInterface, PP_Var, GetProperty, PP_Resource, |
| 91 PP_URLResponseProperty) | 91 PP_URLResponseProperty) |
| 92 END_INTERFACE(URLResponseInfoInterface, PPB_URLResponseInfo) | 92 END_INTERFACE(URLResponseInfoInterface, PPB_URLResponseInfo) |
| OLD | NEW |