Tidy up WebSocket-related histograms

Remove the following histograms as they are due to expire soon and have
not been very useful:

	Net.WebSocket.DeflateMode
	Net.WebSocket.Duration
        SafeBrowsing.WebSocket.Result

Stop the Net.WebSocket.ResponseCode histogram from expiring as it is
useful.

BUG=974965,975027

Change-Id: I2cb529a89bd804c84e793e5f05cb4be0741b240d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663466
Reviewed-by: Ilya Sherman <[email protected]>
Reviewed-by: Yutaka Hirano <[email protected]>
Reviewed-by: Varun Khaneja <[email protected]>
Commit-Queue: Adam Rice <[email protected]>
Cr-Commit-Position: refs/heads/master@{#670885}
diff --git a/net/websockets/websocket_basic_handshake_stream.cc b/net/websockets/websocket_basic_handshake_stream.cc
index 65f63e0..88f8646 100644
--- a/net/websockets/websocket_basic_handshake_stream.cc
+++ b/net/websockets/websocket_basic_handshake_stream.cc
@@ -406,15 +406,12 @@
           state_.read_buf(), sub_protocol_, extensions_);
   DCHECK(extension_params_.get());
   if (extension_params_->deflate_enabled) {
-    RecordDeflateMode(
-        extension_params_->deflate_parameters.client_context_take_over_mode());
-
     return std::make_unique<WebSocketDeflateStream>(
         std::move(basic_stream), extension_params_->deflate_parameters,
         std::make_unique<WebSocketDeflatePredictorImpl>());
-  } else {
-    return basic_stream;
   }
+
+  return basic_stream;
 }
 
 base::WeakPtr<WebSocketHandshakeStreamBase>