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

Unified Diff: third_party/WebKit/Source/platform/EventTracer.cpp

Issue 1359973003: Support tracing flow events v2 in Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « third_party/WebKit/Source/platform/EventTracer.h ('k') | third_party/WebKit/Source/platform/TraceEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/EventTracer.cpp
diff --git a/third_party/WebKit/Source/platform/EventTracer.cpp b/third_party/WebKit/Source/platform/EventTracer.cpp
index 2185bda88243811e447ad327df31fc487476d786..e4a7a350efaa1a11db4e7f982fde7205425de141 100644
--- a/third_party/WebKit/Source/platform/EventTracer.cpp
+++ b/third_party/WebKit/Source/platform/EventTracer.cpp
@@ -76,25 +76,25 @@ const unsigned char* EventTracer::getTraceCategoryEnabledFlag(const char* catego
}
TraceEvent::TraceEventHandle EventTracer::addTraceEvent(char phase, const unsigned char* categoryEnabledFlag,
- const char* name, unsigned long long id, double timestamp,
+ const char* name, unsigned long long id, unsigned long long bindId, double timestamp,
int numArgs, const char* argNames[], const unsigned char argTypes[],
const unsigned long long argValues[],
PassRefPtr<TraceEvent::ConvertableToTraceFormat> convertableValue1,
PassRefPtr<TraceEvent::ConvertableToTraceFormat> convertableValue2,
- unsigned char flags)
+ unsigned flags)
{
WebConvertableToTraceFormat webConvertableValues[2];
webConvertableValues[0] = WebConvertableToTraceFormat(convertableValue1);
webConvertableValues[1] = WebConvertableToTraceFormat(convertableValue2);
- return Platform::current()->addTraceEvent(phase, categoryEnabledFlag, name, id, timestamp, numArgs, argNames, argTypes, argValues, webConvertableValues, flags);
+ return Platform::current()->addTraceEvent(phase, categoryEnabledFlag, name, id, bindId, timestamp, numArgs, argNames, argTypes, argValues, webConvertableValues, flags);
}
TraceEvent::TraceEventHandle EventTracer::addTraceEvent(char phase, const unsigned char* categoryEnabledFlag,
- const char* name, unsigned long long id, double timestamp,
+ const char* name, unsigned long long id, unsigned long long bindId, double timestamp,
int numArgs, const char** argNames, const unsigned char* argTypes,
- const unsigned long long* argValues, unsigned char flags)
+ const unsigned long long* argValues, unsigned flags)
{
- return Platform::current()->addTraceEvent(phase, categoryEnabledFlag, name, id, timestamp, numArgs, argNames, argTypes, argValues, 0, flags);
+ return Platform::current()->addTraceEvent(phase, categoryEnabledFlag, name, id, bindId, timestamp, numArgs, argNames, argTypes, argValues, 0, flags);
}
void EventTracer::updateTraceEventDuration(const unsigned char* categoryEnabledFlag, const char* name, TraceEvent::TraceEventHandle handle)
« no previous file with comments | « third_party/WebKit/Source/platform/EventTracer.h ('k') | third_party/WebKit/Source/platform/TraceEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698