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 "base/message_loop.h" | 5 #include "base/message_loop.h" |
6 #include "base/run_loop.h" | 6 #include "base/run_loop.h" |
7 #include "content/browser/browser_thread_impl.h" | 7 #include "content/browser/browser_thread_impl.h" |
8 #include "content/public/browser/devtools_http_handler.h" | 8 #include "content/public/browser/devtools_http_handler.h" |
9 #include "content/public/browser/devtools_http_handler_delegate.h" | 9 #include "content/public/browser/devtools_http_handler_delegate.h" |
10 #include "net/base/stream_listen_socket.h" | 10 #include "net/base/stream_listen_socket.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 new DummyDelegate()); | 94 new DummyDelegate()); |
95 // Our dummy socket factory will post a quit message once the server will | 95 // Our dummy socket factory will post a quit message once the server will |
96 // become ready. | 96 // become ready. |
97 run_loop.Run(); | 97 run_loop.Run(); |
98 devtools_http_handler_->Stop(); | 98 devtools_http_handler_->Stop(); |
99 // Make sure the handler actually stops. | 99 // Make sure the handler actually stops. |
100 run_loop_2.Run(); | 100 run_loop_2.Run(); |
101 } | 101 } |
102 | 102 |
103 } // namespace content | 103 } // namespace content |
OLD | NEW |