| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <utility> | 5 #include <utility> |
| 6 | 6 |
| 7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.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 "mojo/public/cpp/bindings/strong_binding.h" | 13 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 14 #include "mojo/services/package_manager/package_manager.h" | |
| 15 #include "mojo/shell/connect_util.h" | 14 #include "mojo/shell/connect_util.h" |
| 16 #include "mojo/shell/loader.h" | 15 #include "mojo/shell/loader.h" |
| 17 #include "mojo/shell/public/cpp/connector.h" | 16 #include "mojo/shell/public/cpp/connector.h" |
| 18 #include "mojo/shell/public/cpp/interface_factory.h" | 17 #include "mojo/shell/public/cpp/interface_factory.h" |
| 19 #include "mojo/shell/public/cpp/shell_client.h" | 18 #include "mojo/shell/public/cpp/shell_client.h" |
| 20 #include "mojo/shell/public/cpp/shell_connection.h" | 19 #include "mojo/shell/public/cpp/shell_connection.h" |
| 21 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" | 20 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" |
| 22 #include "mojo/shell/shell.h" | 21 #include "mojo/shell/shell.h" |
| 23 #include "mojo/shell/tests/test.mojom.h" | 22 #include "mojo/shell/tests/test.mojom.h" |
| 24 #include "testing/gtest/include/gtest/gtest.h" | 23 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 EXPECT_EQ(2, test_loader_->num_loads()); | 543 EXPECT_EQ(2, test_loader_->num_loads()); |
| 545 | 544 |
| 546 // A different identity because the domain is different. | 545 // A different identity because the domain is different. |
| 547 ConnectToInterface("test:bar", &test_service); | 546 ConnectToInterface("test:bar", &test_service); |
| 548 EXPECT_EQ(3, test_loader_->num_loads()); | 547 EXPECT_EQ(3, test_loader_->num_loads()); |
| 549 } | 548 } |
| 550 | 549 |
| 551 } // namespace test | 550 } // namespace test |
| 552 } // namespace shell | 551 } // namespace shell |
| 553 } // namespace mojo | 552 } // namespace mojo |
| OLD | NEW |