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

Unified Diff: Source/modules/websockets/WebSocketHandshake.cpp

Issue 15451002: Start collecting two new WebSocket histograms. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry Created 7 years, 7 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/modules/websockets/WebSocketHandshake.cpp
diff --git a/Source/modules/websockets/WebSocketHandshake.cpp b/Source/modules/websockets/WebSocketHandshake.cpp
index 08896332160cc77adcc45beddbb3e58a733e6164..24f5cd73f63bd3549fa479ddb358f59ce6f9b403 100644
--- a/Source/modules/websockets/WebSocketHandshake.cpp
+++ b/Source/modules/websockets/WebSocketHandshake.cpp
@@ -39,6 +39,7 @@
#include "core/inspector/ScriptCallStack.h"
#include "core/loader/CookieJar.h"
#include "core/platform/Cookie.h"
+#include "core/platform/HistogramSupport.h"
#include "core/platform/KURL.h"
#include "core/platform/Logging.h"
#include "core/platform/network/HTTPHeaderMap.h"
@@ -131,6 +132,7 @@ WebSocketHandshake::WebSocketHandshake(const KURL& url, const String& protocol,
WebSocketHandshake::~WebSocketHandshake()
{
+ HistogramSupport::histogramEnumeration("WebCore.WebSocket.HandshakeResult", m_mode, WebSocketHandshake::ModeMax);
}
const KURL& WebSocketHandshake::url() const
« no previous file with comments | « Source/modules/websockets/WebSocketHandshake.h ('k') | Source/modules/websockets/WebSocketPerMessageDeflate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698