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

Side by Side Diff: ppapi/tests/test_var_resource.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 5 years 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_var_deprecated.cc ('k') | ppapi/tests/test_view.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "ppapi/tests/test_var_resource.h" 5 #include "ppapi/tests/test_var_resource.h"
6 6
7 #include <stdint.h>
8
7 #include "ppapi/c/pp_resource.h" 9 #include "ppapi/c/pp_resource.h"
8 #include "ppapi/c/pp_var.h" 10 #include "ppapi/c/pp_var.h"
9 #include "ppapi/cpp/instance.h" 11 #include "ppapi/cpp/instance.h"
10 #include "ppapi/cpp/module.h" 12 #include "ppapi/cpp/module.h"
11 #include "ppapi/tests/testing_instance.h" 13 #include "ppapi/tests/testing_instance.h"
12 14
13 REGISTER_TEST_CASE(VarResource); 15 REGISTER_TEST_CASE(VarResource);
14 16
15 bool TestVarResource::Init() { 17 bool TestVarResource::Init() {
16 core_interface_ = static_cast<const PPB_Core*>( 18 core_interface_ = static_cast<const PPB_Core*>(
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 ASSERT_EQ(0, result); 124 ASSERT_EQ(0, result);
123 125
124 result = var_interface_->VarToResource(PP_MakeInt32(42)); 126 result = var_interface_->VarToResource(PP_MakeInt32(42));
125 ASSERT_EQ(0, result); 127 ASSERT_EQ(0, result);
126 128
127 result = var_interface_->VarToResource(PP_MakeDouble(1.0)); 129 result = var_interface_->VarToResource(PP_MakeDouble(1.0));
128 ASSERT_EQ(0, result); 130 ASSERT_EQ(0, result);
129 131
130 PASS(); 132 PASS();
131 } 133 }
OLDNEW
« no previous file with comments | « ppapi/tests/test_var_deprecated.cc ('k') | ppapi/tests/test_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698