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

Unified Diff: webkit/glue/webkitplatformsupport_impl.h

Issue 11557009: Remove support for TRACE_EVENT_IF_LONGER_THANx macros (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: webkit/glue/webkitplatformsupport_impl.h
diff --git a/webkit/glue/webkitplatformsupport_impl.h b/webkit/glue/webkitplatformsupport_impl.h
index 0ad0e743b0391076be44fc7c3b77cd665dc4eb84..6583bc369d0fe9b4e78b02b946570747bce9e076 100644
--- a/webkit/glue/webkitplatformsupport_impl.h
+++ b/webkit/glue/webkitplatformsupport_impl.h
@@ -83,6 +83,8 @@ class WEBKIT_GLUE_EXPORT WebKitPlatformSupportImpl :
const char* name, int sample, int boundary_value);
virtual const unsigned char* getTraceCategoryEnabledFlag(
const char* category_name);
+ // TODO(caseq): compatibility overload. Remove once WebKitPlatformSupport
+ // is updated.
virtual int addTraceEvent(
char phase,
const unsigned char* category_enabled,
@@ -95,6 +97,16 @@ class WEBKIT_GLUE_EXPORT WebKitPlatformSupportImpl :
int threshold_begin_id,
long long threshold,
unsigned char flags);
+ virtual void 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,
+ unsigned char flags);
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