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

Side by Side Diff: ppapi/cpp/private/camera_capabilities_private.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years 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
« no previous file with comments | « ppapi/cpp/ppp_entrypoints.cc ('k') | ppapi/cpp/private/camera_device_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "ppapi/cpp/private/camera_capabilities_private.h" 5 #include "ppapi/cpp/private/camera_capabilities_private.h"
6 6
7 #include <stdint.h>
8
7 #include "ppapi/c/pp_bool.h" 9 #include "ppapi/c/pp_bool.h"
8 #include "ppapi/c/pp_size.h" 10 #include "ppapi/c/pp_size.h"
9 #include "ppapi/cpp/instance_handle.h" 11 #include "ppapi/cpp/instance_handle.h"
10 #include "ppapi/cpp/module_impl.h" 12 #include "ppapi/cpp/module_impl.h"
11 13
12 namespace pp { 14 namespace pp {
13 15
14 namespace { 16 namespace {
15 17
16 template <> 18 template <>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const Resource& resource) { 66 const Resource& resource) {
65 if (!has_interface<PPB_CameraCapabilities_Private_0_1>()) 67 if (!has_interface<PPB_CameraCapabilities_Private_0_1>())
66 return false; 68 return false;
67 69
68 return PP_ToBool( 70 return PP_ToBool(
69 get_interface<PPB_CameraCapabilities_Private_0_1>()->IsCameraCapabilities( 71 get_interface<PPB_CameraCapabilities_Private_0_1>()->IsCameraCapabilities(
70 resource.pp_resource())); 72 resource.pp_resource()));
71 } 73 }
72 74
73 } // namespace pp 75 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/cpp/ppp_entrypoints.cc ('k') | ppapi/cpp/private/camera_device_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698