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); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 METHOD1(URLRequestInfoInterface, PP_Resource, Create, PP_Instance) | 85 METHOD1(URLRequestInfoInterface, PP_Resource, Create, PP_Instance) |
86 METHOD3(URLRequestInfoInterface, PP_Bool, SetProperty, PP_Resource, | 86 METHOD3(URLRequestInfoInterface, PP_Bool, SetProperty, PP_Resource, |
87 PP_URLRequestProperty, PP_Var) | 87 PP_URLRequestProperty, PP_Var) |
88 END_INTERFACE(URLRequestInfoInterface, PPB_URLRequestInfo) | 88 END_INTERFACE(URLRequestInfoInterface, PPB_URLRequestInfo) |
89 | 89 |
90 BEGIN_INTERFACE(URLResponseInfoInterface, PPB_URLResponseInfo, | 90 BEGIN_INTERFACE(URLResponseInfoInterface, PPB_URLResponseInfo, |
91 PPB_URLRESPONSEINFO_INTERFACE) | 91 PPB_URLRESPONSEINFO_INTERFACE) |
92 METHOD2(URLResponseInfoInterface, PP_Var, GetProperty, PP_Resource, | 92 METHOD2(URLResponseInfoInterface, PP_Var, GetProperty, PP_Resource, |
93 PP_URLResponseProperty) | 93 PP_URLResponseProperty) |
94 END_INTERFACE(URLResponseInfoInterface, PPB_URLResponseInfo) | 94 END_INTERFACE(URLResponseInfoInterface, PPB_URLResponseInfo) |
OLD | NEW |