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

Side by Side Diff: ppapi/thunk/ppb_instance_api.h

Issue 26956002: Plumb support for audio sample formats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix cast. Created 7 years, 2 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
« no previous file with comments | « ppapi/thunk/ppb_content_decryptor_private_thunk.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef PPAPI_THUNK_INSTANCE_API_H_ 5 #ifndef PPAPI_THUNK_INSTANCE_API_H_
6 #define PPAPI_THUNK_INSTANCE_API_H_ 6 #define PPAPI_THUNK_INSTANCE_API_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ppapi/c/dev/ppb_url_util_dev.h" 10 #include "ppapi/c/dev/ppb_url_util_dev.h"
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 PP_DecryptorStreamType decoder_type, 166 PP_DecryptorStreamType decoder_type,
167 uint32_t request_id) = 0; 167 uint32_t request_id) = 0;
168 virtual void DecoderResetDone(PP_Instance instance, 168 virtual void DecoderResetDone(PP_Instance instance,
169 PP_DecryptorStreamType decoder_type, 169 PP_DecryptorStreamType decoder_type,
170 uint32_t request_id) = 0; 170 uint32_t request_id) = 0;
171 virtual void DeliverFrame(PP_Instance instance, 171 virtual void DeliverFrame(PP_Instance instance,
172 PP_Resource decrypted_frame, 172 PP_Resource decrypted_frame,
173 const PP_DecryptedFrameInfo* frame_info) = 0; 173 const PP_DecryptedFrameInfo* frame_info) = 0;
174 virtual void DeliverSamples(PP_Instance instance, 174 virtual void DeliverSamples(PP_Instance instance,
175 PP_Resource audio_frames, 175 PP_Resource audio_frames,
176 const PP_DecryptedBlockInfo* block_info) = 0; 176 const PP_DecryptedSampleInfo* sample_info) = 0;
177 177
178 // URLUtil. 178 // URLUtil.
179 virtual PP_Var ResolveRelativeToDocument( 179 virtual PP_Var ResolveRelativeToDocument(
180 PP_Instance instance, 180 PP_Instance instance,
181 PP_Var relative, 181 PP_Var relative,
182 PP_URLComponents_Dev* components) = 0; 182 PP_URLComponents_Dev* components) = 0;
183 virtual PP_Bool DocumentCanRequest(PP_Instance instance, PP_Var url) = 0; 183 virtual PP_Bool DocumentCanRequest(PP_Instance instance, PP_Var url) = 0;
184 virtual PP_Bool DocumentCanAccessDocument(PP_Instance instance, 184 virtual PP_Bool DocumentCanAccessDocument(PP_Instance instance,
185 PP_Instance target) = 0; 185 PP_Instance target) = 0;
186 virtual PP_Var GetPluginInstanceURL(PP_Instance instance, 186 virtual PP_Var GetPluginInstanceURL(PP_Instance instance,
187 PP_URLComponents_Dev* components) = 0; 187 PP_URLComponents_Dev* components) = 0;
188 virtual PP_Var GetPluginReferrerURL(PP_Instance instance, 188 virtual PP_Var GetPluginReferrerURL(PP_Instance instance,
189 PP_URLComponents_Dev* components) = 0; 189 PP_URLComponents_Dev* components) = 0;
190 #endif // !defined(OS_NACL) 190 #endif // !defined(OS_NACL)
191 191
192 static const ApiID kApiID = API_ID_PPB_INSTANCE; 192 static const ApiID kApiID = API_ID_PPB_INSTANCE;
193 }; 193 };
194 194
195 } // namespace thunk 195 } // namespace thunk
196 } // namespace ppapi 196 } // namespace ppapi
197 197
198 #endif // PPAPI_THUNK_INSTANCE_API_H_ 198 #endif // PPAPI_THUNK_INSTANCE_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_content_decryptor_private_thunk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698