Index: content/browser/renderer_host/websocket_host.cc |
diff --git a/content/browser/renderer_host/websocket_host.cc b/content/browser/renderer_host/websocket_host.cc |
index 4284743a70f85a909061e4222e168d0ac17bf598..f120c0177d1be53a66cd3be51951585220727fca 100644 |
--- a/content/browser/renderer_host/websocket_host.cc |
+++ b/content/browser/renderer_host/websocket_host.cc |
@@ -175,11 +175,14 @@ void WebSocketHost::OnFlowControl(int64 quota) { |
channel_->SendFlowControl(quota); |
} |
-void WebSocketHost::OnDropChannel(uint16 code, const std::string& reason) { |
+void WebSocketHost::OnDropChannel(bool was_clean, |
+ uint16 code, |
+ const std::string& reason) { |
DVLOG(3) << "WebSocketDispatcherHost::OnDropChannel" |
- << " routing_id= " << routing_id_ << " code= " << code |
- << " reason= " << reason; |
+ << " routing_id= " << routing_id_ << " was_clean = " << was_clean |
+ << " code= " << code << " reason= " << reason; |
+ // TODO(yhirano): Handle |was_clean| appropriately. |
channel_->StartClosingHandshake(code, reason); |
} |