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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/RemoteWindowProxy.cpp

Issue 2771723005: [Bindings][UMA] Split user metrics for window proxy initialization (Closed)
Patch Set: Split main frame metric Created 3 years, 9 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/core/v8/RemoteWindowProxy.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/RemoteWindowProxy.cpp b/third_party/WebKit/Source/bindings/core/v8/RemoteWindowProxy.cpp
index b484ebebf77af1fdef5e85805b71e2726b195a3d..c60566d5abe83d86e490e13ef07d00382df0cc0e 100644
--- a/third_party/WebKit/Source/bindings/core/v8/RemoteWindowProxy.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/RemoteWindowProxy.cpp
@@ -69,8 +69,9 @@ void RemoteWindowProxy::initialize() {
TRACE_EVENT1("v8", "RemoteWindowProxy::initialize", "isMainWindow",
frame()->isMainFrame());
SCOPED_BLINK_UMA_HISTOGRAM_TIMER(
- frame()->isMainFrame() ? "Blink.Binding.InitializeMainWindowProxy"
- : "Blink.Binding.InitializeNonMainWindowProxy");
+ frame()->isMainFrame()
+ ? "Blink.Binding.InitializeMainRemoteWindowProxy"
+ : "Blink.Binding.InitializeNonMainRemoteWindowProxy");
ScriptForbiddenScope::AllowUserAgentScript allowScript;
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698