| Index: mojo/edk/embedder/embedder.h
|
| diff --git a/mojo/edk/embedder/embedder.h b/mojo/edk/embedder/embedder.h
|
| index 50ec1840fb5ec29b31878c472da85af36fa3be7f..2e43475c75fd5cbcd934ef9188590066c36369a5 100644
|
| --- a/mojo/edk/embedder/embedder.h
|
| +++ b/mojo/edk/embedder/embedder.h
|
| @@ -23,7 +23,7 @@ namespace embedder {
|
| struct Configuration;
|
| class PlatformSupport;
|
| class ProcessDelegate;
|
| -typedef void* SlaveInfo;
|
| +using SlaveInfo = void*;
|
|
|
| // Basic configuration/initialization ------------------------------------------
|
|
|
| @@ -191,7 +191,7 @@ MOJO_SYSTEM_IMPL_EXPORT ScopedMessagePipeHandle
|
| CreateChannelOnIOThread(ScopedPlatformHandle platform_handle,
|
| ChannelInfo** channel_info);
|
|
|
| -typedef base::Callback<void(ChannelInfo*)> DidCreateChannelCallback;
|
| +using DidCreateChannelCallback = base::Callback<void(ChannelInfo*)>;
|
| // Creates a channel asynchronously; may be called from any thread.
|
| // |platform_handle| should be a handle to a connected OS "pipe".
|
| // |io_thread_task_runner| should be the |TaskRunner| for the I/O thread.
|
| @@ -214,7 +214,7 @@ CreateChannel(ScopedPlatformHandle platform_handle,
|
| MOJO_SYSTEM_IMPL_EXPORT void DestroyChannelOnIOThread(
|
| ChannelInfo* channel_info);
|
|
|
| -typedef base::Closure DidDestroyChannelCallback;
|
| +using DidDestroyChannelCallback = base::Closure;
|
| // Like |DestroyChannelOnIOThread()|, but asynchronous and may be called from
|
| // any thread. The callback will be called using |callback_thread_task_runner|
|
| // if that is non-null, or otherwise it will be called on the "channel thread".
|
|
|