Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(736)

Unified Diff: mojo/edk/system/message_in_transit.h

Issue 1154903003: "typedef Foo Bar" -> "using Bar = Foo" in //mojo/edk/.... (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/edk/system/message_in_transit.h
diff --git a/mojo/edk/system/message_in_transit.h b/mojo/edk/system/message_in_transit.h
index 038a29281bc69688aa70c8a69cebebb2f485d6c4..3ade44bc47bc33a4b9822d864a4810d700b38b66 100644
--- a/mojo/edk/system/message_in_transit.h
+++ b/mojo/edk/system/message_in_transit.h
@@ -43,7 +43,7 @@ class TransportData;
// buffer.
class MOJO_SYSTEM_IMPL_EXPORT MessageInTransit {
public:
- typedef uint16_t Type;
+ using Type = uint16_t;
// Messages that are forwarded to endpoint clients.
static const Type kTypeEndpointClient = 0;
// Messages that are consumed by the |ChannelEndpoint|.
@@ -58,7 +58,7 @@ class MOJO_SYSTEM_IMPL_EXPORT MessageInTransit {
// Messages sent by a |MasterConnectionManager| (all responses).
static const Type kTypeConnectionManagerAck = 5;
- typedef uint16_t Subtype;
+ using Subtype = uint16_t;
// Subtypes for type |kTypeEndpointClient|:
// Message pipe or data pipe data (etc.).
static const Subtype kSubtypeEndpointClientData = 0;

Powered by Google App Engine
This is Rietveld 408576698