Index: services/shell/public/cpp/lib/connection_impl.cc |
diff --git a/services/shell/public/cpp/lib/connection_impl.cc b/services/shell/public/cpp/lib/connection_impl.cc |
index 0be3d303dbdf9c845279ad47799c16eec868eb5f..3a612e05fe0b6baf497c077dc90816066b8a783e 100644 |
--- a/services/shell/public/cpp/lib/connection_impl.cc |
+++ b/services/shell/public/cpp/lib/connection_impl.cc |
@@ -85,7 +85,7 @@ uint32_t ConnectionImpl::GetRemoteInstanceID() const { |
} |
void ConnectionImpl::AddConnectionCompletedClosure( |
- const mojo::Closure& callback) { |
+ const base::Closure& callback) { |
if (IsPending()) |
connection_completed_callbacks_.push_back(callback); |
else |
@@ -126,7 +126,7 @@ void ConnectionImpl::OnConnectionCompleted(shell::mojom::ConnectResult result, |
State::CONNECTED : State::DISCONNECTED; |
remote_id_ = target_application_id; |
remote_.set_user_id(target_user_id); |
- std::vector<mojo::Closure> callbacks; |
+ std::vector<base::Closure> callbacks; |
callbacks.swap(connection_completed_callbacks_); |
for (auto callback : callbacks) |
callback.Run(); |