| Index: shell/shell_test_base_unittest.cc
|
| diff --git a/shell/shell_test_base_unittest.cc b/shell/shell_test_base_unittest.cc
|
| index cc39cb5366cdcd016ae592fe688ade19de3a1f71..03d047df4fc6ea2081fc92638eb15bf0a42dda56 100644
|
| --- a/shell/shell_test_base_unittest.cc
|
| +++ b/shell/shell_test_base_unittest.cc
|
| @@ -17,6 +17,7 @@
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "url/gurl.h"
|
|
|
| +using mojo::Callback;
|
| using mojo::test::ServiceReport;
|
| using mojo::test::ServiceReportPtr;
|
| using mojo::test::TestService;
|
| @@ -243,11 +244,11 @@ TEST_F(ShellTestBaseTest, ConnectServiceAsClientOfSeparateApp) {
|
| TestServicePtr service;
|
| ConnectToService(test_app_url(), &service);
|
| service->StartTrackingRequests(message_loop()->QuitWhenIdleClosure());
|
| - service->Ping(mojo::Callback<void()>());
|
| + service->Ping(Callback<void()>());
|
| message_loop()->Run();
|
|
|
| for (int i = 0; i < 8; i++)
|
| - service->Ping(mojo::Callback<void()>());
|
| + service->Ping(Callback<void()>());
|
| service->Ping(message_loop()->QuitWhenIdleClosure());
|
| message_loop()->Run();
|
|
|
| @@ -273,7 +274,7 @@ TEST_F(ShellTestBaseTest, ConnectManyClientsAndServices) {
|
| service->StartTrackingRequests(message_loop()->QuitWhenIdleClosure());
|
| message_loop()->Run();
|
| for (int i = 0; i < 5; i++)
|
| - service->Ping(mojo::Callback<void()>());
|
| + service->Ping(Callback<void()>());
|
| int64 time_result;
|
| service->ConnectToAppAndGetTime("mojo:test_request_tracker_app",
|
| SetAndQuit<int64>(&time_result));
|
| @@ -282,10 +283,10 @@ TEST_F(ShellTestBaseTest, ConnectManyClientsAndServices) {
|
| // Also make a few requests to the TimeService in the test_app.
|
| ConnectToService(test_app_url(), &time_service);
|
| time_service->StartTrackingRequests(message_loop()->QuitWhenIdleClosure());
|
| - time_service->GetPartyTime(mojo::Callback<void(uint64_t)>());
|
| + time_service->GetPartyTime(Callback<void(uint64_t)>());
|
| message_loop()->Run();
|
| for (int i = 0; i < 18; i++)
|
| - time_service->GetPartyTime(mojo::Callback<void(uint64_t)>());
|
| + time_service->GetPartyTime(Callback<void(uint64_t)>());
|
| // Flush the tasks with one more to quit.
|
| int64 party_time = 0;
|
| time_service->GetPartyTime(SetAndQuit<int64>(&party_time));
|
|
|