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

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

Issue 1412323002: ppapi: Support up to 32 subsamples in PP_EncryptedBlockInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_camera_capabilities_private.idl modified Thu Feb 19 09:06:18 5 // From private/ppb_camera_capabilities_private.idl modified Thu Feb 26 09:40:47
6 // 2015. 6 // 2015.
7 7
8 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
9 #include "ppapi/c/private/ppb_camera_capabilities_private.h" 9 #include "ppapi/c/private/ppb_camera_capabilities_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/ppapi_thunk_export.h" 12 #include "ppapi/thunk/ppapi_thunk_export.h"
13 #include "ppapi/thunk/ppb_camera_capabilities_api.h" 13 #include "ppapi/thunk/ppb_camera_capabilities_api.h"
14 14
15 namespace ppapi { 15 namespace ppapi {
(...skipping 13 matching lines...) Expand all
29 VLOG(4) 29 VLOG(4)
30 << "PPB_CameraCapabilities_Private::GetSupportedVideoCaptureFormats()"; 30 << "PPB_CameraCapabilities_Private::GetSupportedVideoCaptureFormats()";
31 EnterResource<PPB_CameraCapabilities_API> enter(capabilities, true); 31 EnterResource<PPB_CameraCapabilities_API> enter(capabilities, true);
32 if (enter.failed()) 32 if (enter.failed())
33 return; 33 return;
34 enter.object()->GetSupportedVideoCaptureFormats(array_size, formats); 34 enter.object()->GetSupportedVideoCaptureFormats(array_size, formats);
35 } 35 }
36 36
37 const PPB_CameraCapabilities_Private_0_1 37 const PPB_CameraCapabilities_Private_0_1
38 g_ppb_cameracapabilities_private_thunk_0_1 = { 38 g_ppb_cameracapabilities_private_thunk_0_1 = {
39 &IsCameraCapabilities, 39 &IsCameraCapabilities, &GetSupportedVideoCaptureFormats};
40 &GetSupportedVideoCaptureFormats};
41 40
42 } // namespace 41 } // namespace
43 42
44 PPAPI_THUNK_EXPORT const PPB_CameraCapabilities_Private_0_1* 43 PPAPI_THUNK_EXPORT const PPB_CameraCapabilities_Private_0_1*
45 GetPPB_CameraCapabilities_Private_0_1_Thunk() { 44 GetPPB_CameraCapabilities_Private_0_1_Thunk() {
46 return &g_ppb_cameracapabilities_private_thunk_0_1; 45 return &g_ppb_cameracapabilities_private_thunk_0_1;
47 } 46 }
48 47
49 } // namespace thunk 48 } // namespace thunk
50 } // namespace ppapi 49 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698