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

Unified Diff: base/test/trace_event_analyzer.h

Issue 1544113002: Switch to standard integer types in base/test/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/test/thread_test_helper.h ('k') | base/test/trace_event_analyzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/trace_event_analyzer.h
diff --git a/base/test/trace_event_analyzer.h b/base/test/trace_event_analyzer.h
index 57ff2b571cefc354df54c2916f64307af5029a29..f67445aceba2b95d001f01aad86f3d3d02baec7a 100644
--- a/base/test/trace_event_analyzer.h
+++ b/base/test/trace_event_analyzer.h
@@ -76,8 +76,12 @@
#ifndef BASE_TEST_TRACE_EVENT_ANALYZER_H_
#define BASE_TEST_TRACE_EVENT_ANALYZER_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <map>
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/trace_event/trace_event.h"
@@ -183,8 +187,8 @@ class Query {
// Compare with the given number.
static Query Double(double num);
- static Query Int(int32 num);
- static Query Uint(uint32 num);
+ static Query Int(int32_t num);
+ static Query Uint(uint32_t num);
// Compare with the given bool.
static Query Bool(bool boolean);
@@ -406,7 +410,7 @@ class Query {
Query operator*(const Query& rhs) const;
Query operator/(const Query& rhs) const;
Query operator-() const;
- // Mod operates on int64 args (doubles are casted to int64 beforehand):
+ // Mod operates on int64_t args (doubles are casted to int64_t beforehand):
Query operator%(const Query& rhs) const;
// Return true if the given event matches this query tree.
« no previous file with comments | « base/test/thread_test_helper.h ('k') | base/test/trace_event_analyzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698