| 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 #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 Loading... |
| 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 |
| OLD | NEW |