| 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 #ifndef PPAPI_SHARED_IMPL_PPB_CHAR_SET_SHARED_H_ | 5 #ifndef PPAPI_SHARED_IMPL_PPB_CHAR_SET_SHARED_H_ |
| 6 #define PPAPI_SHARED_IMPL_PPB_CHAR_SET_SHARED_H_ | 6 #define PPAPI_SHARED_IMPL_PPB_CHAR_SET_SHARED_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
| 9 #include "ppapi/c/dev/ppb_char_set_dev.h" | 10 #include "ppapi/c/dev/ppb_char_set_dev.h" |
| 10 #include "ppapi/c/trusted/ppb_char_set_trusted.h" | 11 #include "ppapi/c/trusted/ppb_char_set_trusted.h" |
| 11 #include "ppapi/shared_impl/ppapi_shared_export.h" | 12 #include "ppapi/shared_impl/ppapi_shared_export.h" |
| 12 | 13 |
| 13 namespace ppapi { | 14 namespace ppapi { |
| 14 | 15 |
| 15 // Contains the implementation of character set conversion that is shared | 16 // Contains the implementation of character set conversion that is shared |
| 16 // between the proxy and the renderer. | 17 // between the proxy and the renderer. |
| 17 class PPAPI_SHARED_EXPORT PPB_CharSet_Shared { | 18 class PPAPI_SHARED_EXPORT PPB_CharSet_Shared { |
| 18 public: | 19 public: |
| (...skipping 18 matching lines...) Expand all Loading... |
| 37 uint32_t input_len, | 38 uint32_t input_len, |
| 38 const char* input_char_set, | 39 const char* input_char_set, |
| 39 PP_CharSet_Trusted_ConversionError on_error, | 40 PP_CharSet_Trusted_ConversionError on_error, |
| 40 uint16_t* output_buffer, | 41 uint16_t* output_buffer, |
| 41 uint32_t* output_utf16_length); | 42 uint32_t* output_utf16_length); |
| 42 }; | 43 }; |
| 43 | 44 |
| 44 } // namespace ppapi | 45 } // namespace ppapi |
| 45 | 46 |
| 46 #endif // PPAPI_SHARED_IMPL_PPB_CHAR_SET_SHARED_H_ | 47 #endif // PPAPI_SHARED_IMPL_PPB_CHAR_SET_SHARED_H_ |
| OLD | NEW |