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

Unified Diff: base/trace_event/tracing_agent.h

Issue 1644653002: [Tracing] Update sync_id to be string type for clock sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | base/trace_event/tracing_agent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/tracing_agent.h
diff --git a/base/trace_event/tracing_agent.h b/base/trace_event/tracing_agent.h
index 77183b0d123c46dba163daf239fcb5ea033a12a1..db8d122bea8474b4e3c0a2382d8ae951da80e288 100644
--- a/base/trace_event/tracing_agent.h
+++ b/base/trace_event/tracing_agent.h
@@ -35,7 +35,7 @@ class BASE_EXPORT TracingAgent {
const std::string& events_label,
const scoped_refptr<base::RefCountedString>& events_str_ptr)>;
using RecordClockSyncMarkerCallback = base::Callback<void(
- int sync_id,
+ const std::string& sync_id,
const TimeTicks& issue_ts,
const TimeTicks& issue_end_ts)>;
@@ -87,7 +87,7 @@ class BASE_EXPORT TracingAgent {
// The assumption is that the receiver thread knows the issuer's clock, which
// is true in Chrome because all agent threads' clocks are Chrome clock.
virtual void RecordClockSyncMarker(
- int sync_id,
+ const std::string& sync_id,
const RecordClockSyncMarkerCallback& callback);
};
« no previous file with comments | « no previous file | base/trace_event/tracing_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698