Index: base/debug/trace_event_impl.h |
diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h |
index f91554112257b0808186d77b6abb47cbb2a381b8..866b82160a509da42f70f333078175eec776d372 100644 |
--- a/base/debug/trace_event_impl.h |
+++ b/base/debug/trace_event_impl.h |
@@ -190,7 +190,7 @@ class BASE_EXPORT TraceEvent { |
// TraceBufferChunk is the basic unit of TraceBuffer. |
class BASE_EXPORT TraceBufferChunk { |
public: |
- TraceBufferChunk(uint32 seq) |
+ explicit TraceBufferChunk(uint32 seq) |
danakj
2014/10/07 17:13:54
There's a bunch of changes not related to consting
Lei Zhang
2014/10/17 21:19:38
I updated the CL description.
|
: next_free_(0), |
seq_(seq) { |
} |
@@ -292,7 +292,7 @@ class BASE_EXPORT CategoryFilter { |
// The default category filter, used when none is provided. |
// Allows all categories through, except if they end in the suffix 'Debug' or |
// 'Test'. |
- static const char* kDefaultCategoryFilterString; |
+ static const char kDefaultCategoryFilterString[]; |
// |filter_string| is a comma-delimited list of category wildcards. |
// A category can have an optional '-' prefix to make it an excluded category. |
@@ -391,13 +391,12 @@ enum TraceRecordMode { |
}; |
struct BASE_EXPORT TraceOptions { |
- |
TraceOptions() |
: record_mode(RECORD_UNTIL_FULL), |
enable_sampling(false), |
enable_systrace(false) {} |
- TraceOptions(TraceRecordMode record_mode) |
+ explicit TraceOptions(TraceRecordMode record_mode) |
: record_mode(record_mode), |
enable_sampling(false), |
enable_systrace(false) {} |