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

Unified Diff: Source/bindings/tests/results/V8TestEventTarget.cpp

Issue 131203009: Make event names of TRACE_EVENT_SAMPLING_STATE macros more descriptive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Source/bindings/tests/results/V8TestEventTarget.cpp
diff --git a/Source/bindings/tests/results/V8TestEventTarget.cpp b/Source/bindings/tests/results/V8TestEventTarget.cpp
index eb36b86a8d6faf18eaa73db1e80c36a180e3b1e5..77df482833531fea4c4688fa1c8de8be22dbc5b6 100644
--- a/Source/bindings/tests/results/V8TestEventTarget.cpp
+++ b/Source/bindings/tests/results/V8TestEventTarget.cpp
@@ -89,7 +89,7 @@ static void itemMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
TestEventTargetV8Internal::itemMethod(info);
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
+ TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
}
static void namedItemMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
@@ -107,7 +107,7 @@ static void namedItemMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& i
{
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
TestEventTargetV8Internal::namedItemMethod(info);
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
+ TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
}
static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info)
@@ -124,7 +124,7 @@ static void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCall
{
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMIndexedProperty");
TestEventTargetV8Internal::indexedPropertyGetter(index, info);
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
+ TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
}
static void indexedPropertySetter(uint32_t index, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<v8::Value>& info)
@@ -141,7 +141,7 @@ static void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> j
{
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMIndexedProperty");
TestEventTargetV8Internal::indexedPropertySetter(index, jsValue, info);
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
+ TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
}
static void indexedPropertyDeleter(unsigned index, const v8::PropertyCallbackInfo<v8::Boolean>& info)
@@ -159,7 +159,7 @@ static void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCal
{
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMIndexedProperty");
TestEventTargetV8Internal::indexedPropertyDeleter(index, info);
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
+ TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
}
static void namedPropertyGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
@@ -184,7 +184,7 @@ static void namedPropertyGetterCallback(v8::Local<v8::String> name, const v8::Pr
{
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMNamedProperty");
TestEventTargetV8Internal::namedPropertyGetter(name, info);
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
+ TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
}
static void namedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<v8::Value>& info)
@@ -212,7 +212,7 @@ static void namedPropertySetterCallback(v8::Local<v8::String> name, v8::Local<v8
{
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMNamedProperty");
TestEventTargetV8Internal::namedPropertySetter(name, jsValue, info);
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
+ TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
}
static void namedPropertyDeleter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Boolean>& info)
@@ -228,7 +228,7 @@ static void namedPropertyDeleterCallback(v8::Local<v8::String> name, const v8::P
{
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMNamedProperty");
TestEventTargetV8Internal::namedPropertyDeleter(name, info);
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
+ TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
}
static void namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Array>& info)
@@ -262,14 +262,14 @@ static void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::A
{
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMNamedProperty");
TestEventTargetV8Internal::namedPropertyEnumerator(info);
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
+ TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
}
static void namedPropertyQueryCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Integer>& info)
{
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMNamedProperty");
TestEventTargetV8Internal::namedPropertyQuery(name, info);
- TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
+ TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
}
} // namespace TestEventTargetV8Internal
« no previous file with comments | « Source/bindings/tests/results/V8TestCustomAccessors.cpp ('k') | Source/bindings/tests/results/V8TestException.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698