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

Unified Diff: net/websockets/websocket_deflater.h

Issue 244933003: UMA: Add Net.WebSocket.DeflateMode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed #7 Created 6 years, 8 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 | « net/websockets/websocket_basic_handshake_stream.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_deflater.h
diff --git a/net/websockets/websocket_deflater.h b/net/websockets/websocket_deflater.h
index da85bfec912d9132e97292f35d07cb8a43ced0c9..1b631e2663ee749e8c6c2e8e5520c86ec54e8586 100644
--- a/net/websockets/websocket_deflater.h
+++ b/net/websockets/websocket_deflater.h
@@ -21,9 +21,12 @@ class IOBufferWithSize;
class NET_EXPORT_PRIVATE WebSocketDeflater {
public:
+ // Do not reorder or remove entries of this enum. The values of them are used
+ // in UMA.
enum ContextTakeOverMode {
DO_NOT_TAKE_OVER_CONTEXT,
TAKE_OVER_CONTEXT,
+ NUM_CONTEXT_TAKEOVER_MODE_TYPES,
};
explicit WebSocketDeflater(ContextTakeOverMode mode);
« no previous file with comments | « net/websockets/websocket_basic_handshake_stream.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698