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 // From private/ppb_content_decryptor_private.idl, | 5 // From private/ppb_content_decryptor_private.idl, |
6 // modified Wed Jan 8 16:02:43 2014. | 6 // modified Mon Jan 13 12:02:23 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/ppapi_thunk_export.h" |
13 #include "ppapi/thunk/resource_creation_api.h" | |
14 #include "ppapi/thunk/thunk.h" | |
15 | 13 |
16 namespace ppapi { | 14 namespace ppapi { |
17 namespace thunk { | 15 namespace thunk { |
18 | 16 |
19 namespace { | 17 namespace { |
20 | 18 |
21 void SessionCreated(PP_Instance instance, | 19 void SessionCreated(PP_Instance instance, |
22 uint32_t session_id, | 20 uint32_t session_id, |
23 struct PP_Var web_session_id) { | 21 struct PP_Var web_session_id) { |
24 VLOG(4) << "PPB_ContentDecryptor_Private::SessionCreated()"; | 22 VLOG(4) << "PPB_ContentDecryptor_Private::SessionCreated()"; |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 &DeliverBlock, | 153 &DeliverBlock, |
156 &DecoderInitializeDone, | 154 &DecoderInitializeDone, |
157 &DecoderDeinitializeDone, | 155 &DecoderDeinitializeDone, |
158 &DecoderResetDone, | 156 &DecoderResetDone, |
159 &DeliverFrame, | 157 &DeliverFrame, |
160 &DeliverSamples | 158 &DeliverSamples |
161 }; | 159 }; |
162 | 160 |
163 } // namespace | 161 } // namespace |
164 | 162 |
165 const PPB_ContentDecryptor_Private_0_10* | 163 PPAPI_THUNK_EXPORT const PPB_ContentDecryptor_Private_0_10* |
166 GetPPB_ContentDecryptor_Private_0_10_Thunk() { | 164 GetPPB_ContentDecryptor_Private_0_10_Thunk() { |
167 return &g_ppb_contentdecryptor_private_thunk_0_10; | 165 return &g_ppb_contentdecryptor_private_thunk_0_10; |
168 } | 166 } |
169 | 167 |
170 } // namespace thunk | 168 } // namespace thunk |
171 } // namespace ppapi | 169 } // namespace ppapi |
OLD | NEW |