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

Unified Diff: webkit/glue/webkitplatformsupport_impl.h

Issue 9213013: Split up trace_event.h into trace_event_impl.h and add webkitplatform support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: webkit/glue/webkitplatformsupport_impl.h
diff --git a/webkit/glue/webkitplatformsupport_impl.h b/webkit/glue/webkitplatformsupport_impl.h
index 02a7266933f3b10a801aeea3cc8b412ec154cd9f..c3cee3f993a50958dd4ddb00ce4f8648bcb267a0 100644
--- a/webkit/glue/webkitplatformsupport_impl.h
+++ b/webkit/glue/webkitplatformsupport_impl.h
@@ -73,6 +73,27 @@ class WEBKIT_GLUE_EXPORT WebKitPlatformSupportImpl :
virtual bool isTraceEventEnabled() const;
virtual void traceEventBegin(const char* name, void* id, const char* extra);
virtual void traceEventEnd(const char* name, void* id, const char* extra);
+ virtual const unsigned char* getCategoryEnabled(const char* category_name);
+ virtual int addTraceEvent(
+ char phase,
+ const unsigned char* category_enabled,
+ const char* name,
+ unsigned long long id,
+ int num_args,
+ const char** arg_names,
+ const unsigned char* arg_types,
+ const unsigned long long* arg_values,
+ int threshold_begin_id,
+ long long threshold,
+ unsigned char flags);
+ virtual void addCounterEvent(
nduca 2012/01/13 22:40:41 Er, before this, is there any hope of folding coun
jbates 2012/01/13 23:56:03 Done.
+ const unsigned char* category_enabled,
+ const char* name,
+ unsigned long long id,
+ const char* arg1_name, int arg1_val,
+ const char* arg2_name, int arg2_val,
+ unsigned char flags);
+ virtual unsigned long long getInterProcessID(void* pointer);
virtual WebKit::WebData loadResource(const char* name);
virtual bool loadAudioResource(
WebKit::WebAudioBus* destination_bus, const char* audio_file_data,

Powered by Google App Engine
This is Rietveld 408576698