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 <stddef.h> |
| 6 #include <stdint.h> |
| 7 |
5 #include <string> | 8 #include <string> |
6 #include <vector> | 9 #include <vector> |
7 | 10 |
8 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
9 #include "base/threading/platform_thread.h" | 12 #include "base/threading/platform_thread.h" |
10 #include "ppapi/c/pp_var.h" | 13 #include "ppapi/c/pp_var.h" |
11 #include "ppapi/c/ppb_var.h" | 14 #include "ppapi/c/ppb_var.h" |
12 #include "ppapi/proxy/ppapi_proxy_test.h" | 15 #include "ppapi/proxy/ppapi_proxy_test.h" |
13 #include "ppapi/shared_impl/ppb_var_shared.h" | 16 #include "ppapi/shared_impl/ppb_var_shared.h" |
14 | 17 |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 for (size_t i = 0; i < kNumStrings; ++i) { | 237 for (size_t i = 0; i < kNumStrings; ++i) { |
235 uint32_t len = 10; | 238 uint32_t len = 10; |
236 const char* utf8 = ppb_var_->VarToUtf8(vars_[i], &len); | 239 const char* utf8 = ppb_var_->VarToUtf8(vars_[i], &len); |
237 EXPECT_EQ(NULL, utf8); | 240 EXPECT_EQ(NULL, utf8); |
238 EXPECT_EQ(0u, len); | 241 EXPECT_EQ(0u, len); |
239 } | 242 } |
240 } | 243 } |
241 | 244 |
242 } // namespace proxy | 245 } // namespace proxy |
243 } // namespace ppapi | 246 } // namespace ppapi |
OLD | NEW |