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

Side by Side Diff: ppapi/tests/test_char_set.h

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 12 months 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/tests/test_case.cc ('k') | ppapi/tests/test_compositor.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 #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
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_
OLDNEW
« no previous file with comments | « ppapi/tests/test_case.cc ('k') | ppapi/tests/test_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698