| 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_TESTS_TEST_CHAR_SET_H_ | 5 #ifndef PPAPI_TESTS_TEST_CHAR_SET_H_ |
| 6 #define PPAPI_TESTS_TEST_CHAR_SET_H_ | 6 #define PPAPI_TESTS_TEST_CHAR_SET_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 11 #include "ppapi/c/dev/ppb_char_set_dev.h" | 13 #include "ppapi/c/dev/ppb_char_set_dev.h" |
| 12 #include "ppapi/c/trusted/ppb_char_set_trusted.h" | 14 #include "ppapi/c/trusted/ppb_char_set_trusted.h" |
| 13 #include "ppapi/tests/test_case.h" | 15 #include "ppapi/tests/test_case.h" |
| 14 | 16 |
| 15 class TestCharSet : public TestCase { | 17 class TestCharSet : public TestCase { |
| 16 public: | 18 public: |
| 17 TestCharSet(TestingInstance* instance); | 19 TestCharSet(TestingInstance* instance); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 30 | 32 |
| 31 // Converts the given UTF-8 string to a NON-NULL TERMINATED UTF-16 string | 33 // Converts the given UTF-8 string to a NON-NULL TERMINATED UTF-16 string |
| 32 // stored in the given vector. | 34 // stored in the given vector. |
| 33 std::vector<uint16_t> UTF8ToUTF16(const std::string& utf8); | 35 std::vector<uint16_t> UTF8ToUTF16(const std::string& utf8); |
| 34 | 36 |
| 35 const PPB_CharSet_Dev* char_set_interface_; | 37 const PPB_CharSet_Dev* char_set_interface_; |
| 36 const PPB_CharSet_Trusted* char_set_trusted_interface_; | 38 const PPB_CharSet_Trusted* char_set_trusted_interface_; |
| 37 }; | 39 }; |
| 38 | 40 |
| 39 #endif // PPAPI_TESTS_TEST_CHAR_SET_H_ | 41 #endif // PPAPI_TESTS_TEST_CHAR_SET_H_ |
| OLD | NEW |