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

Side by Side Diff: ppapi/tests/test_trace_event.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/tests/test_test_internals.cc ('k') | ppapi/tests/test_truetype_font.cc » ('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_trace_event.h" 5 #include "ppapi/tests/test_trace_event.h"
6 6
7 #include <stdint.h>
8
7 #include "ppapi/cpp/module.h" 9 #include "ppapi/cpp/module.h"
8 #include "ppapi/tests/testing_instance.h" 10 #include "ppapi/tests/testing_instance.h"
9 11
10 REGISTER_TEST_CASE(TraceEvent); 12 REGISTER_TEST_CASE(TraceEvent);
11 13
12 TestTraceEvent::TestTraceEvent(TestingInstance* instance) 14 TestTraceEvent::TestTraceEvent(TestingInstance* instance)
13 : TestCase(instance), 15 : TestCase(instance),
14 interface_(NULL) { 16 interface_(NULL) {
15 } 17 }
16 18
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 int64_t last = interface_->Now(); 58 int64_t last = interface_->Now();
57 59
58 for(int i=0; i<5; ++i){ 60 for(int i=0; i<5; ++i){
59 int64_t next = interface_->Now(); 61 int64_t next = interface_->Now();
60 ASSERT_LE(last, next); 62 ASSERT_LE(last, next);
61 last = next; 63 last = next;
62 } 64 }
63 65
64 PASS(); 66 PASS();
65 } 67 }
OLDNEW
« no previous file with comments | « ppapi/tests/test_test_internals.cc ('k') | ppapi/tests/test_truetype_font.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698