OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <stddef.h> |
| 6 #include <stdint.h> |
| 7 |
5 #include <algorithm> | 8 #include <algorithm> |
6 | 9 |
7 #include "base/bind.h" | 10 #include "base/bind.h" |
8 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
9 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
10 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
11 #include "mojo/message_pump/message_pump_mojo.h" | 14 #include "mojo/message_pump/message_pump_mojo.h" |
12 #include "mojo/public/cpp/bindings/associated_binding.h" | 15 #include "mojo/public/cpp/bindings/associated_binding.h" |
13 #include "mojo/public/cpp/bindings/associated_group.h" | 16 #include "mojo/public/cpp/bindings/associated_group.h" |
14 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" | 17 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" |
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 | 557 |
555 // The previous wait has dispatched the GetSender request message, therefore | 558 // The previous wait has dispatched the GetSender request message, therefore |
556 // an associated interface has been set up on the pipe. It is not allowed to | 559 // an associated interface has been set up on the pipe. It is not allowed to |
557 // wait or pause. | 560 // wait or pause. |
558 EXPECT_TRUE(connection.binding()->HasAssociatedInterfaces()); | 561 EXPECT_TRUE(connection.binding()->HasAssociatedInterfaces()); |
559 } | 562 } |
560 | 563 |
561 } // namespace | 564 } // namespace |
562 } // namespace test | 565 } // namespace test |
563 } // namespace mojo | 566 } // namespace mojo |
OLD | NEW |