diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/net/websockets/websocket_channel.h | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/net/websockets/websocket_channel.h')
-rw-r--r-- | chromium/net/websockets/websocket_channel.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/chromium/net/websockets/websocket_channel.h b/chromium/net/websockets/websocket_channel.h index d05207e8bc3..d5e78537456 100644 --- a/chromium/net/websockets/websocket_channel.h +++ b/chromium/net/websockets/websocket_channel.h @@ -118,12 +118,6 @@ class NET_EXPORT WebSocketChannel { ChannelState StartClosingHandshake(uint16_t code, const std::string& reason) WARN_UNUSED_RESULT; - // Returns the current send quota. This value is unsafe to use outside of the - // browser IO thread because it changes asynchronously. The value is only - // valid for the execution of the current Task or until SendFrame() is called, - // whichever happens sooner. - int current_send_quota() const { return current_send_quota_; } - // Starts the connection process, using a specified creator callback rather // than the default. This is exposed for testing. void SendAddChannelRequestForTesting( @@ -359,17 +353,6 @@ class NET_EXPORT WebSocketChannel { // during the connection process. std::unique_ptr<WebSocketStreamRequest> stream_request_; - // If the renderer's send quota reaches this level, it is sent a quota - // refresh. "quota units" are currently bytes. TODO(ricea): Update the - // definition of quota units when necessary. - int send_quota_low_water_mark_; - // The level the quota is refreshed to when it reaches the low_water_mark - // (quota units). - int send_quota_high_water_mark_; - // The current amount of quota that the renderer has available for sending - // on this logical channel (quota units). - int current_send_quota_; - // Timer for the closing handshake. base::OneShotTimer close_timer_; |