| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/renderer_host/websocket_dispatcher_host.h" | 5 #include "content/browser/renderer_host/websocket_dispatcher_host.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 // WebSocketHostMsg_AddChannelRequest. | 433 // WebSocketHostMsg_AddChannelRequest. |
| 434 host->WebSocketHost::OnMessageReceived(message); | 434 host->WebSocketHost::OnMessageReceived(message); |
| 435 | 435 |
| 436 EXPECT_EQ(0, dispatcher_host_->num_pending_connections()); | 436 EXPECT_EQ(0, dispatcher_host_->num_pending_connections()); |
| 437 EXPECT_EQ(1, dispatcher_host_->num_failed_connections()); | 437 EXPECT_EQ(1, dispatcher_host_->num_failed_connections()); |
| 438 EXPECT_EQ(0, dispatcher_host_->num_succeeded_connections()); | 438 EXPECT_EQ(0, dispatcher_host_->num_succeeded_connections()); |
| 439 } | 439 } |
| 440 | 440 |
| 441 } // namespace | 441 } // namespace |
| 442 } // namespace content | 442 } // namespace content |
| OLD | NEW |