| 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 <stdint.h> | 5 #include <stdint.h> |
| 6 #include <utility> | 6 #include <utility> |
| 7 | 7 |
| 8 #include "base/memory/ptr_util.h" |
| 8 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 9 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
| 10 #include "mojo/public/cpp/bindings/binding.h" | 11 #include "mojo/public/cpp/bindings/binding.h" |
| 11 #include "mojo/public/cpp/bindings/strong_binding.h" | 12 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 12 #include "mojo/public/cpp/test_support/test_utils.h" | 13 #include "mojo/public/cpp/test_support/test_utils.h" |
| 13 #include "mojo/public/interfaces/bindings/tests/sample_factory.mojom.h" | 14 #include "mojo/public/interfaces/bindings/tests/sample_factory.mojom.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 16 |
| 16 namespace mojo { | 17 namespace mojo { |
| 17 namespace test { | 18 namespace test { |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 run_loop.Run(); | 350 run_loop.Run(); |
| 350 run_loop2.Run(); | 351 run_loop2.Run(); |
| 351 | 352 |
| 352 EXPECT_EQ(std::string("object1"), name1); | 353 EXPECT_EQ(std::string("object1"), name1); |
| 353 EXPECT_EQ(std::string("object2"), name2); | 354 EXPECT_EQ(std::string("object2"), name2); |
| 354 } | 355 } |
| 355 | 356 |
| 356 } // namespace | 357 } // namespace |
| 357 } // namespace test | 358 } // namespace test |
| 358 } // namespace mojo | 359 } // namespace mojo |
| OLD | NEW |