| 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 4b5faec37e9f1a6475ee3c59054c29905f3b8998..4d1b4a46d8249b5b903d74de04da2e1db253527e 100644
|
| --- a/content/browser/renderer_host/websocket_host.cc
|
| +++ b/content/browser/renderer_host/websocket_host.cc
|
| @@ -193,11 +193,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);
|
| }
|
|
|
|
|