| Index: mojo/public/cpp/bindings/associated_interface_ptr.h
|
| diff --git a/mojo/public/cpp/bindings/associated_interface_ptr.h b/mojo/public/cpp/bindings/associated_interface_ptr.h
|
| index 10494cecb051173081dc540034029c2cfac17f99..9846b33d5cdad2c6c667b16072515c1329599d6f 100644
|
| --- a/mojo/public/cpp/bindings/associated_interface_ptr.h
|
| +++ b/mojo/public/cpp/bindings/associated_interface_ptr.h
|
| @@ -8,7 +8,6 @@
|
| #include <stdint.h>
|
| #include <utility>
|
|
|
| -#include "base/callback.h"
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| @@ -17,6 +16,7 @@
|
| #include "mojo/public/cpp/bindings/associated_group.h"
|
| #include "mojo/public/cpp/bindings/associated_interface_ptr_info.h"
|
| #include "mojo/public/cpp/bindings/associated_interface_request.h"
|
| +#include "mojo/public/cpp/bindings/callback.h"
|
| #include "mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h"
|
|
|
| namespace mojo {
|
| @@ -92,7 +92,7 @@
|
| // 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 object will also be updated.
|
| - void QueryVersion(const base::Callback<void(uint32_t)>& callback) {
|
| + void QueryVersion(const Callback<void(uint32_t)>& callback) {
|
| internal_state_.QueryVersion(callback);
|
| }
|
|
|
| @@ -122,7 +122,7 @@
|
| //
|
| // This method may only be called after the AssociatedInterfacePtr has been
|
| // bound.
|
| - void set_connection_error_handler(const base::Closure& error_handler) {
|
| + void set_connection_error_handler(const Closure& error_handler) {
|
| internal_state_.set_connection_error_handler(error_handler);
|
| }
|
|
|
|
|