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 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING | 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
6 // | 6 // |
7 // Automatically generated code. See srpcgen.py | 7 // Automatically generated code. See srpcgen.py |
8 // | 8 // |
9 // NaCl Simple Remote Procedure Call interface abstractions. | 9 // NaCl Simple Remote Procedure Call interface abstractions. |
10 | 10 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 NaClSrpcClosure* done, | 96 NaClSrpcClosure* done, |
97 PP_Instance instance, | 97 PP_Instance instance, |
98 int32_t sample_rate, | 98 int32_t sample_rate, |
99 int32_t sample_frame_count, | 99 int32_t sample_frame_count, |
100 PP_Resource* resource); | 100 PP_Resource* resource); |
101 static void PPB_AudioConfig_IsAudioConfig( | 101 static void PPB_AudioConfig_IsAudioConfig( |
102 NaClSrpcRpc* rpc, | 102 NaClSrpcRpc* rpc, |
103 NaClSrpcClosure* done, | 103 NaClSrpcClosure* done, |
104 PP_Resource resource, | 104 PP_Resource resource, |
105 int32_t* out_bool); | 105 int32_t* out_bool); |
106 static void PPB_AudioConfig_RecommendSampleFrameCount( | 106 static void PPB_AudioConfig_RecommendSampleFrameCount_1_0( |
107 NaClSrpcRpc* rpc, | 107 NaClSrpcRpc* rpc, |
108 NaClSrpcClosure* done, | 108 NaClSrpcClosure* done, |
109 int32_t request_sample_rate, | 109 int32_t request_sample_rate, |
110 int32_t request_sample_frame_count, | 110 int32_t request_sample_frame_count, |
111 int32_t* out_sample_frame_count); | 111 int32_t* out_sample_frame_count); |
| 112 static void PPB_AudioConfig_RecommendSampleFrameCount( |
| 113 NaClSrpcRpc* rpc, |
| 114 NaClSrpcClosure* done, |
| 115 PP_Instance instance, |
| 116 int32_t request_sample_rate, |
| 117 int32_t request_sample_frame_count, |
| 118 int32_t* out_sample_frame_count); |
112 static void PPB_AudioConfig_GetSampleRate( | 119 static void PPB_AudioConfig_GetSampleRate( |
113 NaClSrpcRpc* rpc, | 120 NaClSrpcRpc* rpc, |
114 NaClSrpcClosure* done, | 121 NaClSrpcClosure* done, |
115 PP_Resource resource, | 122 PP_Resource resource, |
116 int32_t* sample_rate); | 123 int32_t* sample_rate); |
117 static void PPB_AudioConfig_GetSampleFrameCount( | 124 static void PPB_AudioConfig_GetSampleFrameCount( |
118 NaClSrpcRpc* rpc, | 125 NaClSrpcRpc* rpc, |
119 NaClSrpcClosure* done, | 126 NaClSrpcClosure* done, |
120 PP_Resource resource, | 127 PP_Resource resource, |
121 int32_t* sample_frame_count); | 128 int32_t* sample_frame_count); |
| 129 static void PPB_AudioConfig_RecommendSampleRate( |
| 130 NaClSrpcRpc* rpc, |
| 131 NaClSrpcClosure* done, |
| 132 PP_Instance instance, |
| 133 int32_t* sample_rate); |
122 | 134 |
123 private: | 135 private: |
124 PpbAudioConfigRpcServer(); | 136 PpbAudioConfigRpcServer(); |
125 PpbAudioConfigRpcServer(const PpbAudioConfigRpcServer&); | 137 PpbAudioConfigRpcServer(const PpbAudioConfigRpcServer&); |
126 void operator=(const PpbAudioConfigRpcServer); | 138 void operator=(const PpbAudioConfigRpcServer); |
127 }; // class PpbAudioConfigRpcServer | 139 }; // class PpbAudioConfigRpcServer |
128 | 140 |
129 class PpbCoreRpcServer { | 141 class PpbCoreRpcServer { |
130 public: | 142 public: |
131 static void PPB_Core_AddRefResource( | 143 static void PPB_Core_AddRefResource( |
(...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1444 }; // class PpbZoomRpcServer | 1456 }; // class PpbZoomRpcServer |
1445 | 1457 |
1446 class PpbRpcs { | 1458 class PpbRpcs { |
1447 public: | 1459 public: |
1448 static NaClSrpcHandlerDesc srpc_methods[]; | 1460 static NaClSrpcHandlerDesc srpc_methods[]; |
1449 }; // class PpbRpcs | 1461 }; // class PpbRpcs |
1450 | 1462 |
1451 | 1463 |
1452 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ | 1464 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ |
1453 | 1465 |
OLD | NEW |