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

Unified Diff: base/trace_event/trace_event_impl.h

Issue 1539703002: [Tracing] Remove context_id in favor of traits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo some git cl format 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/trace_event/trace_event.h ('k') | base/trace_event/trace_event_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/trace_event_impl.h
diff --git a/base/trace_event/trace_event_impl.h b/base/trace_event/trace_event_impl.h
index 84ef52f3758a5ffb76b41adb8b3bdbfcaa7930dc..f6d4d4ee28d45acb71dc1d2e253279b6b805bec2 100644
--- a/base/trace_event/trace_event_impl.h
+++ b/base/trace_event/trace_event_impl.h
@@ -101,7 +101,6 @@ class BASE_EXPORT TraceEvent {
const unsigned char* category_group_enabled,
const char* name,
unsigned long long id,
- unsigned long long context_id,
unsigned long long bind_id,
int num_args,
const char** arg_names,
@@ -133,7 +132,6 @@ class BASE_EXPORT TraceEvent {
TimeDelta duration() const { return duration_; }
TimeDelta thread_duration() const { return thread_duration_; }
unsigned long long id() const { return id_; }
- unsigned long long context_id() const { return context_id_; }
unsigned int flags() const { return flags_; }
// Exposed for unittesting:
@@ -160,8 +158,6 @@ class BASE_EXPORT TraceEvent {
TimeDelta thread_duration_;
// id_ can be used to store phase-specific data.
unsigned long long id_;
- // context_id_ is used to store context information.
- unsigned long long context_id_;
TraceValue arg_values_[kTraceMaxNumArgs];
const char* arg_names_[kTraceMaxNumArgs];
scoped_refptr<ConvertableToTraceFormat> convertable_values_[kTraceMaxNumArgs];
« no previous file with comments | « base/trace_event/trace_event.h ('k') | base/trace_event/trace_event_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698