Index: base/trace_event/trace_buffer.h |
diff --git a/base/trace_event/trace_buffer.h b/base/trace_event/trace_buffer.h |
index d54bd74bec53edd05e87b36b0025376c17aac136..a7b80595b544d01fa2f3c1939a5b82c26a28771f 100644 |
--- a/base/trace_event/trace_buffer.h |
+++ b/base/trace_event/trace_buffer.h |
@@ -5,6 +5,9 @@ |
#ifndef BASE_TRACE_EVENT_TRACE_BUFFER_H_ |
#define BASE_TRACE_EVENT_TRACE_BUFFER_H_ |
+#include <stddef.h> |
+#include <stdint.h> |
+ |
#include "base/base_export.h" |
#include "base/trace_event/trace_event.h" |
#include "base/trace_event/trace_event_impl.h" |
@@ -16,14 +19,14 @@ namespace trace_event { |
// TraceBufferChunk is the basic unit of TraceBuffer. |
class BASE_EXPORT TraceBufferChunk { |
public: |
- explicit TraceBufferChunk(uint32 seq); |
+ explicit TraceBufferChunk(uint32_t seq); |
~TraceBufferChunk(); |
- void Reset(uint32 new_seq); |
+ void Reset(uint32_t new_seq); |
TraceEvent* AddTraceEvent(size_t* event_index); |
bool IsFull() const { return next_free_ == kTraceBufferChunkSize; } |
- uint32 seq() const { return seq_; } |
+ uint32_t seq() const { return seq_; } |
size_t capacity() const { return kTraceBufferChunkSize; } |
size_t size() const { return next_free_; } |
@@ -50,7 +53,7 @@ class BASE_EXPORT TraceBufferChunk { |
size_t next_free_; |
scoped_ptr<TraceEventMemoryOverhead> cached_overhead_estimate_; |
TraceEvent chunk_[kTraceBufferChunkSize]; |
- uint32 seq_; |
+ uint32_t seq_; |
}; |
// TraceBuffer holds the events as they are collected. |