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

Side by Side Diff: ppapi/thunk/ppb_content_decryptor_private_thunk.cc

Issue 122683002: Drop data offset in PP_EncryptedBlockInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/interfaces_ppb_private.h ('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 // From private/ppb_content_decryptor_private.idl, 5 // From private/ppb_content_decryptor_private.idl,
6 // modified Fri Dec 6 12:16:22 2013. 6 // modified Wed Jan 8 16:02:43 2014.
7 7
8 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
9 #include "ppapi/c/private/ppb_content_decryptor_private.h" 9 #include "ppapi/c/private/ppb_content_decryptor_private.h"
10 #include "ppapi/shared_impl/tracked_callback.h" 10 #include "ppapi/shared_impl/tracked_callback.h"
11 #include "ppapi/thunk/enter.h" 11 #include "ppapi/thunk/enter.h"
12 #include "ppapi/thunk/ppb_instance_api.h" 12 #include "ppapi/thunk/ppb_instance_api.h"
13 #include "ppapi/thunk/resource_creation_api.h" 13 #include "ppapi/thunk/resource_creation_api.h"
14 #include "ppapi/thunk/thunk.h" 14 #include "ppapi/thunk/thunk.h"
15 15
16 namespace ppapi { 16 namespace ppapi {
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 const struct PP_DecryptedSampleInfo* decrypted_sample_info) { 138 const struct PP_DecryptedSampleInfo* decrypted_sample_info) {
139 VLOG(4) << "PPB_ContentDecryptor_Private::DeliverSamples()"; 139 VLOG(4) << "PPB_ContentDecryptor_Private::DeliverSamples()";
140 EnterInstance enter(instance); 140 EnterInstance enter(instance);
141 if (enter.failed()) 141 if (enter.failed())
142 return; 142 return;
143 enter.functions()->DeliverSamples(instance, 143 enter.functions()->DeliverSamples(instance,
144 audio_frames, 144 audio_frames,
145 decrypted_sample_info); 145 decrypted_sample_info);
146 } 146 }
147 147
148 const PPB_ContentDecryptor_Private_0_9 148 const PPB_ContentDecryptor_Private_0_10
149 g_ppb_contentdecryptor_private_thunk_0_9 = { 149 g_ppb_contentdecryptor_private_thunk_0_10 = {
150 &SessionCreated, 150 &SessionCreated,
151 &SessionMessage, 151 &SessionMessage,
152 &SessionReady, 152 &SessionReady,
153 &SessionClosed, 153 &SessionClosed,
154 &SessionError, 154 &SessionError,
155 &DeliverBlock, 155 &DeliverBlock,
156 &DecoderInitializeDone, 156 &DecoderInitializeDone,
157 &DecoderDeinitializeDone, 157 &DecoderDeinitializeDone,
158 &DecoderResetDone, 158 &DecoderResetDone,
159 &DeliverFrame, 159 &DeliverFrame,
160 &DeliverSamples 160 &DeliverSamples
161 }; 161 };
162 162
163 } // namespace 163 } // namespace
164 164
165 const PPB_ContentDecryptor_Private_0_9* 165 const PPB_ContentDecryptor_Private_0_10*
166 GetPPB_ContentDecryptor_Private_0_9_Thunk() { 166 GetPPB_ContentDecryptor_Private_0_10_Thunk() {
167 return &g_ppb_contentdecryptor_private_thunk_0_9; 167 return &g_ppb_contentdecryptor_private_thunk_0_10;
168 } 168 }
169 169
170 } // namespace thunk 170 } // namespace thunk
171 } // namespace ppapi 171 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_private.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698