| Index: mojo/public/cpp/bindings/lib/connector.h
|
| diff --git a/mojo/public/cpp/bindings/lib/connector.h b/mojo/public/cpp/bindings/lib/connector.h
|
| index c47fa745a3fe8baeff97401c02e695125e791bf3..243159ef32fdbe0417824bd0a50431a39903f96a 100644
|
| --- a/mojo/public/cpp/bindings/lib/connector.h
|
| +++ b/mojo/public/cpp/bindings/lib/connector.h
|
| @@ -7,11 +7,11 @@
|
|
|
| #include <memory>
|
|
|
| -#include "base/callback.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/threading/thread_checker.h"
|
| +#include "mojo/public/cpp/bindings/callback.h"
|
| #include "mojo/public/cpp/bindings/lib/sync_handle_watcher.h"
|
| #include "mojo/public/cpp/bindings/message.h"
|
| #include "mojo/public/cpp/system/core.h"
|
| @@ -67,7 +67,7 @@
|
|
|
| // Sets the error handler to receive notifications when an error is
|
| // encountered while reading from the pipe or waiting to read from the pipe.
|
| - void set_connection_error_handler(const base::Closure& error_handler) {
|
| + void set_connection_error_handler(const Closure& error_handler) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| connection_error_handler_ = error_handler;
|
| }
|
| @@ -173,7 +173,7 @@
|
|
|
| void EnsureSyncWatcherExists();
|
|
|
| - base::Closure connection_error_handler_;
|
| + Closure connection_error_handler_;
|
|
|
| ScopedMessagePipeHandle message_pipe_;
|
| MessageReceiver* incoming_receiver_;
|
|
|