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

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

Issue 1346383004: EDK: Remove MOJO_SYSTEM_IMPL_EXPORT, system_impl_export.h, etc. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « mojo/edk/system/memory.cc ('k') | mojo/edk/system/message_in_transit_queue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4280b5f868bf3c4d716c58430dd2a705a68aaa23..d77a416fb82a5a4c2e575523f00d7b4145df63dd 100644
--- a/mojo/edk/system/message_in_transit.h
+++ b/mojo/edk/system/message_in_transit.h
@@ -16,7 +16,6 @@
#include "mojo/edk/system/channel_endpoint_id.h"
#include "mojo/edk/system/dispatcher.h"
#include "mojo/edk/system/memory.h"
-#include "mojo/edk/system/system_impl_export.h"
#include "mojo/public/cpp/system/macros.h"
namespace mojo {
@@ -42,7 +41,7 @@ class TransportData;
//
// See |TransportData| for a description of the (serialized) transport data
// buffer.
-class MOJO_SYSTEM_IMPL_EXPORT MessageInTransit {
+class MessageInTransit {
public:
enum class Type : uint16_t {
// Messages that are forwarded to endpoint clients.
@@ -102,7 +101,7 @@ class MOJO_SYSTEM_IMPL_EXPORT MessageInTransit {
public:
// This represents a view of serialized message data in a raw buffer.
- class MOJO_SYSTEM_IMPL_EXPORT View {
+ class View {
public:
// Constructs a view from the given buffer of the given size. (The size must
// be as provided by |MessageInTransit::GetNextMessageSize()|.) The buffer
@@ -291,16 +290,14 @@ class MOJO_SYSTEM_IMPL_EXPORT MessageInTransit {
};
// So logging macros and |DCHECK_EQ()|, etc. work.
-MOJO_SYSTEM_IMPL_EXPORT inline std::ostream& operator<<(
- std::ostream& out,
- MessageInTransit::Type type) {
+inline std::ostream& operator<<(std::ostream& out,
+ MessageInTransit::Type type) {
return out << static_cast<uint16_t>(type);
}
// So logging macros and |DCHECK_EQ()|, etc. work.
-MOJO_SYSTEM_IMPL_EXPORT inline std::ostream& operator<<(
- std::ostream& out,
- MessageInTransit::Subtype subtype) {
+inline std::ostream& operator<<(std::ostream& out,
+ MessageInTransit::Subtype subtype) {
return out << static_cast<uint16_t>(subtype);
}
« no previous file with comments | « mojo/edk/system/memory.cc ('k') | mojo/edk/system/message_in_transit_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698