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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp

Issue 1678003002: Remove sampling trace events from the binding layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp
index 1370817009aa5f46ff132ae5794c9c8effe045c8..c3b889e657ebaeefcb99d626e1215cb7ac1b9427 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp
@@ -61,9 +61,7 @@ static void voidMethodDocumentMethod(const v8::FunctionCallbackInfo<v8::Value>&
static void voidMethodDocumentMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
TestInterface3V8Internal::voidMethodDocumentMethod(info);
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
static void keysMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
@@ -81,9 +79,7 @@ static void keysMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
static void keysMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
TestInterface3V8Internal::keysMethod(info);
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
static void valuesMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
@@ -101,9 +97,7 @@ static void valuesMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
static void valuesMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
TestInterface3V8Internal::valuesMethod(info);
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
static void entriesMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
@@ -121,9 +115,7 @@ static void entriesMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
static void entriesMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
TestInterface3V8Internal::entriesMethod(info);
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
static void forEachMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
@@ -156,9 +148,7 @@ static void forEachMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
static void forEachMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
TestInterface3V8Internal::forEachMethod(info);
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
static void iteratorMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
@@ -176,65 +166,47 @@ static void iteratorMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
static void iteratorMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
TestInterface3V8Internal::iteratorMethod(info);
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
static void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info)
{
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMIndexedProperty");
V8TestInterface3::indexedPropertyGetterCustom(index, info);
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
static void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
{
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMIndexedProperty");
V8TestInterface3::indexedPropertySetterCustom(index, v8Value, info);
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
static void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Boolean>& info)
{
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMIndexedProperty");
V8TestInterface3::indexedPropertyDeleterCustom(index, info);
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
static void namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Value>& info)
{
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMNamedProperty");
V8TestInterface3::namedPropertyGetterCustom(name, info);
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
static void namedPropertySetterCallback(v8::Local<v8::Name> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
{
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMNamedProperty");
V8TestInterface3::namedPropertySetterCustom(name, v8Value, info);
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
static void namedPropertyQueryCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Integer>& info)
{
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMNamedProperty");
V8TestInterface3::namedPropertyQueryCustom(name, info);
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
static void namedPropertyDeleterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Boolean>& info)
{
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMNamedProperty");
V8TestInterface3::namedPropertyDeleterCustom(name, info);
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
static void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::Array>& info)
{
- TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMNamedProperty");
V8TestInterface3::namedPropertyEnumeratorCustom(info);
- TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
} // namespace TestInterface3V8Internal

Powered by Google App Engine
This is Rietveld 408576698