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

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

Issue 44453002: Remove HistogramSupport abstraction layer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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
« no previous file with comments | « Source/modules/websockets/WebSocketHandshake.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/websockets/WebSocketPerMessageDeflate.cpp
diff --git a/Source/modules/websockets/WebSocketPerMessageDeflate.cpp b/Source/modules/websockets/WebSocketPerMessageDeflate.cpp
index d7a25b18737f436fc12dc23daf7dc1ea0b1eb16d..ae298e6dd476b8f9e1822e490c50fca0860c95b5 100644
--- a/Source/modules/websockets/WebSocketPerMessageDeflate.cpp
+++ b/Source/modules/websockets/WebSocketPerMessageDeflate.cpp
@@ -32,8 +32,8 @@
#include "modules/websockets/WebSocketPerMessageDeflate.h"
-#include "core/platform/HistogramSupport.h"
#include "modules/websockets/WebSocketExtensionParser.h"
+#include "public/platform/Platform.h"
#include "wtf/HashMap.h"
#include "wtf/text/CString.h"
#include "wtf/text/StringHash.h"
@@ -137,7 +137,7 @@ bool CompressionMessageExtensionProcessor::processResponse(const HashMap<String,
m_failureReason = "Received an unexpected permessage-deflate extension parameter";
return false;
}
- HistogramSupport::histogramEnumeration("WebCore.WebSocket.PerMessageDeflateContextTakeOverMode", mode, WebSocketDeflater::ContextTakeOverModeMax);
+ WebKit::Platform::current()->histogramEnumeration("WebCore.WebSocket.PerMessageDeflateContextTakeOverMode", mode, WebSocketDeflater::ContextTakeOverModeMax);
m_compress.enable(windowBits, mode);
// Since we don't request server_no_context_takeover and server_max_window_bits, they should be ignored.
return true;
« no previous file with comments | « Source/modules/websockets/WebSocketHandshake.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698