| 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 <stddef.h> |
| 5 #include <stdlib.h> | 6 #include <stdlib.h> |
| 6 #include <string.h> | 7 #include <string.h> |
| 7 | 8 |
| 8 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 9 #include "mojo/message_pump/message_pump_mojo.h" | 10 #include "mojo/message_pump/message_pump_mojo.h" |
| 10 #include "mojo/public/cpp/bindings/lib/connector.h" | 11 #include "mojo/public/cpp/bindings/lib/connector.h" |
| 11 #include "mojo/public/cpp/bindings/lib/message_builder.h" | 12 #include "mojo/public/cpp/bindings/lib/message_builder.h" |
| 12 #include "mojo/public/cpp/bindings/tests/message_queue.h" | 13 #include "mojo/public/cpp/bindings/tests/message_queue.h" |
| 13 #include "mojo/public/cpp/system/macros.h" | 14 #include "mojo/public/cpp/system/macros.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 EXPECT_TRUE(connector1.encountered_error()); | 457 EXPECT_TRUE(connector1.encountered_error()); |
| 457 | 458 |
| 458 // The message pipe handle is valid at both sides. | 459 // The message pipe handle is valid at both sides. |
| 459 EXPECT_TRUE(connector0.is_valid()); | 460 EXPECT_TRUE(connector0.is_valid()); |
| 460 EXPECT_TRUE(connector1.is_valid()); | 461 EXPECT_TRUE(connector1.is_valid()); |
| 461 } | 462 } |
| 462 | 463 |
| 463 } // namespace | 464 } // namespace |
| 464 } // namespace test | 465 } // namespace test |
| 465 } // namespace mojo | 466 } // namespace mojo |
| OLD | NEW |