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

Unified Diff: base/trace_event/trace_event.h

Issue 1447563002: Implement frame attribution (FrameBlamer) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: It builds => ship it. Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: base/trace_event/trace_event.h
diff --git a/base/trace_event/trace_event.h b/base/trace_event/trace_event.h
index ed49fe4656f9326b232f973e69936ad3f31f4af9..c2dc5d71887ea75d8d46cce72005086746b9846d 100644
--- a/base/trace_event/trace_event.h
+++ b/base/trace_event/trace_event.h
@@ -971,7 +971,8 @@ template<typename IDType> class TraceScopedTrackableObject {
TRACE_EVENT_OBJECT_CREATED_WITH_ID(category_group_, name_, id_);
}
- template <typename ArgType> void snapshot(ArgType snapshot) {
+ template <typename ArgType>
+ void Snapshot(ArgType snapshot) const {
TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID(category_group_, name_, id_, snapshot);
}
@@ -987,6 +988,8 @@ template<typename IDType> class TraceScopedTrackableObject {
DISALLOW_COPY_AND_ASSIGN(TraceScopedTrackableObject);
};
+using TraceID = trace_event_internal::TraceID;
+
} // namespace trace_event
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698