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> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
13 #include "base/thread_task_runner_handle.h" | |
14 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
| 14 #include "base/threading/thread_task_runner_handle.h" |
15 #include "mojo/public/cpp/bindings/associated_binding.h" | 15 #include "mojo/public/cpp/bindings/associated_binding.h" |
16 #include "mojo/public/cpp/bindings/associated_group.h" | 16 #include "mojo/public/cpp/bindings/associated_group.h" |
17 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" | 17 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" |
18 #include "mojo/public/cpp/bindings/associated_interface_ptr_info.h" | 18 #include "mojo/public/cpp/bindings/associated_interface_ptr_info.h" |
19 #include "mojo/public/cpp/bindings/associated_interface_request.h" | 19 #include "mojo/public/cpp/bindings/associated_interface_request.h" |
20 #include "mojo/public/cpp/bindings/binding.h" | 20 #include "mojo/public/cpp/bindings/binding.h" |
21 #include "mojo/public/cpp/bindings/lib/multiplex_router.h" | 21 #include "mojo/public/cpp/bindings/lib/multiplex_router.h" |
22 #include "mojo/public/interfaces/bindings/tests/test_associated_interfaces.mojom
.h" | 22 #include "mojo/public/interfaces/bindings/tests/test_associated_interfaces.mojom
.h" |
23 #include "testing/gtest/include/gtest/gtest.h" | 23 #include "testing/gtest/include/gtest/gtest.h" |
24 | 24 |
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
572 | 572 |
573 // The previous wait has dispatched the GetSender request message, therefore | 573 // The previous wait has dispatched the GetSender request message, therefore |
574 // an associated interface has been set up on the pipe. It is not allowed to | 574 // an associated interface has been set up on the pipe. It is not allowed to |
575 // wait or pause. | 575 // wait or pause. |
576 EXPECT_TRUE(connection.binding()->HasAssociatedInterfaces()); | 576 EXPECT_TRUE(connection.binding()->HasAssociatedInterfaces()); |
577 } | 577 } |
578 | 578 |
579 } // namespace | 579 } // namespace |
580 } // namespace test | 580 } // namespace test |
581 } // namespace mojo | 581 } // namespace mojo |
OLD | NEW |