| Index: mojo/public/cpp/bindings/interface_ptr.h
|
| diff --git a/mojo/public/cpp/bindings/interface_ptr.h b/mojo/public/cpp/bindings/interface_ptr.h
|
| index 7bc8921cd66d55c69205f72faa7b16ec1f499500..d894984993c3a4e075de399f130aa676ca0753d2 100644
|
| --- a/mojo/public/cpp/bindings/interface_ptr.h
|
| +++ b/mojo/public/cpp/bindings/interface_ptr.h
|
| @@ -8,12 +8,12 @@
|
| #include <stdint.h>
|
| #include <utility>
|
|
|
| +#include "base/callback_forward.h"
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| -#include "mojo/public/cpp/bindings/callback.h"
|
| #include "mojo/public/cpp/bindings/interface_ptr_info.h"
|
| #include "mojo/public/cpp/bindings/lib/interface_ptr_state.h"
|
|
|
| @@ -99,7 +99,7 @@ class InterfacePtr {
|
| // Queries the max version that the remote side supports. On completion, the
|
| // result will be returned as the input of |callback|. The version number of
|
| // this interface pointer will also be updated.
|
| - void QueryVersion(const Callback<void(uint32_t)>& callback) {
|
| + void QueryVersion(const base::Callback<void(uint32_t)>& callback) {
|
| internal_state_.QueryVersion(callback);
|
| }
|
|
|
| @@ -147,7 +147,7 @@ class InterfacePtr {
|
| //
|
| // This method may only be called after the InterfacePtr has been bound to a
|
| // message pipe.
|
| - void set_connection_error_handler(const Closure& error_handler) {
|
| + void set_connection_error_handler(const base::Closure& error_handler) {
|
| internal_state_.set_connection_error_handler(error_handler);
|
| }
|
|
|
|
|