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

Side by Side Diff: ppapi/thunk/ppb_char_set_thunk.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/thunk/ppb_camera_device_private_thunk.cc ('k') | ppapi/thunk/ppb_compositor_api.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 (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 #include <stdint.h>
6
5 #include "ppapi/c/pp_var.h" 7 #include "ppapi/c/pp_var.h"
6 #include "ppapi/shared_impl/private/ppb_char_set_shared.h" 8 #include "ppapi/shared_impl/private/ppb_char_set_shared.h"
9 #include "ppapi/thunk/enter.h"
7 #include "ppapi/thunk/thunk.h" 10 #include "ppapi/thunk/thunk.h"
8 #include "ppapi/thunk/enter.h"
9 11
10 namespace ppapi { 12 namespace ppapi {
11 namespace thunk { 13 namespace thunk {
12 14
13 namespace { 15 namespace {
14 16
15 char* UTF16ToCharSetDeprecated(PP_Instance instance, 17 char* UTF16ToCharSetDeprecated(PP_Instance instance,
16 const uint16_t* utf16, uint32_t utf16_len, 18 const uint16_t* utf16, uint32_t utf16_len,
17 const char* output_char_set, 19 const char* output_char_set,
18 PP_CharSet_ConversionError on_error, 20 PP_CharSet_ConversionError on_error,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 const PPB_CharSet_Dev_0_4* GetPPB_CharSet_Dev_0_4_Thunk() { 100 const PPB_CharSet_Dev_0_4* GetPPB_CharSet_Dev_0_4_Thunk() {
99 return &g_ppb_char_set_thunk; 101 return &g_ppb_char_set_thunk;
100 } 102 }
101 103
102 const PPB_CharSet_Trusted_1_0* GetPPB_CharSet_Trusted_1_0_Thunk() { 104 const PPB_CharSet_Trusted_1_0* GetPPB_CharSet_Trusted_1_0_Thunk() {
103 return &g_ppb_char_set_trusted_thunk; 105 return &g_ppb_char_set_trusted_thunk;
104 } 106 }
105 107
106 } // namespace thunk 108 } // namespace thunk
107 } // namespace ppapi 109 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_camera_device_private_thunk.cc ('k') | ppapi/thunk/ppb_compositor_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698