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

Unified Diff: net/websockets/websocket_channel.cc

Issue 1664743002: [OBSOLETE][DO NOT SUBMIT][DO NOT COMMIT]] Browser-side implementation of WebSocket Blob receive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@websocket_blob_send_sender
Patch Set: Now actually works. Created 4 years, 10 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 | « content/content_tests.gypi ('k') | net/websockets/websocket_event_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_channel.cc
diff --git a/net/websockets/websocket_channel.cc b/net/websockets/websocket_channel.cc
index 3018088db35c96da9acc6c15d1e41d990915251f..e2589f5a25454dbbae34a8de259384c419ee7911 100644
--- a/net/websockets/websocket_channel.cc
+++ b/net/websockets/websocket_channel.cc
@@ -1129,12 +1129,12 @@ bool WebSocketChannel::ParseClose(const scoped_refptr<IOBuffer>& buffer,
ChannelState WebSocketChannel::DoDropChannel(bool was_clean,
uint16_t code,
const std::string& reason) {
+ close_timer_.Stop();
if (CHANNEL_DELETED ==
notification_sender_->SendImmediately(event_interface_.get()))
return CHANNEL_DELETED;
ChannelState result =
event_interface_->OnDropChannel(was_clean, code, reason);
- DCHECK_EQ(CHANNEL_DELETED, result);
return result;
}
« no previous file with comments | « content/content_tests.gypi ('k') | net/websockets/websocket_event_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698