| Index: mojo/public/cpp/bindings/lib/binding_state.h
|
| diff --git a/mojo/public/cpp/bindings/lib/binding_state.h b/mojo/public/cpp/bindings/lib/binding_state.h
|
| index e74c7fd34c9d4eb95cafc4d2b6dc2e21620df8b0..6bea3a318548cb0b06e589735a86609508175655 100644
|
| --- a/mojo/public/cpp/bindings/lib/binding_state.h
|
| +++ b/mojo/public/cpp/bindings/lib/binding_state.h
|
| @@ -9,13 +9,13 @@
|
| #include <utility>
|
|
|
| #include "base/bind.h"
|
| -#include "base/callback.h"
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ptr_util.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "mojo/public/cpp/bindings/associated_group.h"
|
| +#include "mojo/public/cpp/bindings/callback.h"
|
| #include "mojo/public/cpp/bindings/interface_ptr.h"
|
| #include "mojo/public/cpp/bindings/interface_ptr_info.h"
|
| #include "mojo/public/cpp/bindings/interface_request.h"
|
| @@ -95,7 +95,7 @@
|
| return std::move(request);
|
| }
|
|
|
| - void set_connection_error_handler(const base::Closure& error_handler) {
|
| + void set_connection_error_handler(const Closure& error_handler) {
|
| DCHECK(is_bound());
|
| connection_error_handler_ = error_handler;
|
| }
|
| @@ -118,7 +118,7 @@
|
|
|
| private:
|
| void DestroyRouter() {
|
| - router_->set_connection_error_handler(base::Closure());
|
| + router_->set_connection_error_handler(Closure());
|
| delete router_;
|
| router_ = nullptr;
|
| connection_error_handler_.Reset();
|
| @@ -132,7 +132,7 @@
|
| internal::Router* router_ = nullptr;
|
| typename Interface::Stub_ stub_;
|
| Interface* impl_;
|
| - base::Closure connection_error_handler_;
|
| + Closure connection_error_handler_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(BindingState);
|
| };
|
| @@ -204,7 +204,7 @@
|
| return request;
|
| }
|
|
|
| - void set_connection_error_handler(const base::Closure& error_handler) {
|
| + void set_connection_error_handler(const Closure& error_handler) {
|
| DCHECK(is_bound());
|
| connection_error_handler_ = error_handler;
|
| }
|
| @@ -238,7 +238,7 @@
|
|
|
| typename Interface::Stub_ stub_;
|
| Interface* impl_;
|
| - base::Closure connection_error_handler_;
|
| + Closure connection_error_handler_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(BindingState);
|
| };
|
|
|