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 <stdint.h> |
| 6 |
5 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
6 #include "base/bind.h" | 8 #include "base/bind.h" |
7 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
8 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
9 #include "base/path_service.h" | 11 #include "base/path_service.h" |
10 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
11 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
12 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
13 #include "mojo/application/public/cpp/application_impl.h" | 15 #include "mojo/application/public/cpp/application_impl.h" |
14 #include "mojo/application/public/cpp/application_test_base.h" | 16 #include "mojo/application/public/cpp/application_test_base.h" |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 EXPECT_EQ(app_url.To<std::string>() + "?foo", connection_url); | 192 EXPECT_EQ(app_url.To<std::string>() + "?foo", connection_url); |
191 EXPECT_EQ("hello", message); | 193 EXPECT_EQ("hello", message); |
192 base::MessageLoop::current()->QuitWhenIdle(); | 194 base::MessageLoop::current()->QuitWhenIdle(); |
193 }; | 195 }; |
194 pingable->Ping("hello", callback); | 196 pingable->Ping("hello", callback); |
195 base::RunLoop().Run(); | 197 base::RunLoop().Run(); |
196 } | 198 } |
197 | 199 |
198 } // namespace | 200 } // namespace |
199 } // namespace mojo | 201 } // namespace mojo |
OLD | NEW |