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

Side by Side Diff: ppapi/proxy/ppb_var_unittest.cc

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/proxy/ppb_var_deprecated_proxy.cc ('k') | ppapi/proxy/ppb_video_decoder_proxy.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 #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
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
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_var_deprecated_proxy.cc ('k') | ppapi/proxy/ppb_video_decoder_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698