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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 // WebSocketHostMsg_AddChannelRequest. | 435 // WebSocketHostMsg_AddChannelRequest. |
436 host->WebSocketHost::OnMessageReceived(message); | 436 host->WebSocketHost::OnMessageReceived(message); |
437 | 437 |
438 EXPECT_EQ(0, dispatcher_host_->num_pending_connections()); | 438 EXPECT_EQ(0, dispatcher_host_->num_pending_connections()); |
439 EXPECT_EQ(1, dispatcher_host_->num_failed_connections()); | 439 EXPECT_EQ(1, dispatcher_host_->num_failed_connections()); |
440 EXPECT_EQ(0, dispatcher_host_->num_succeeded_connections()); | 440 EXPECT_EQ(0, dispatcher_host_->num_succeeded_connections()); |
441 } | 441 } |
442 | 442 |
443 } // namespace | 443 } // namespace |
444 } // namespace content | 444 } // namespace content |
OLD | NEW |