| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "net/websockets/websocket_throttle.h" | 5 #include "net/websockets/websocket_throttle.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "net/base/address_list.h" | 10 #include "net/base/address_list.h" |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 s1->DetachDelegate(); | 348 s1->DetachDelegate(); |
| 349 | 349 |
| 350 DVLOG(1) << "closing socket2"; | 350 DVLOG(1) << "closing socket2"; |
| 351 w2->OnClose(s2.get()); | 351 w2->OnClose(s2.get()); |
| 352 s2->DetachDelegate(); | 352 s2->DetachDelegate(); |
| 353 DVLOG(1) << "Done"; | 353 DVLOG(1) << "Done"; |
| 354 base::MessageLoopForIO::current()->RunUntilIdle(); | 354 base::MessageLoopForIO::current()->RunUntilIdle(); |
| 355 } | 355 } |
| 356 | 356 |
| 357 } | 357 } |
| OLD | NEW |