| Index: mojo/edk/system/channel_endpoint_id.h
|
| diff --git a/mojo/edk/system/channel_endpoint_id.h b/mojo/edk/system/channel_endpoint_id.h
|
| index b00a225ac17d381e055d7a0b25ee5f2fe7d0af39..3a0ff7c4639753307d587f44de211735b998ff59 100644
|
| --- a/mojo/edk/system/channel_endpoint_id.h
|
| +++ b/mojo/edk/system/channel_endpoint_id.h
|
| @@ -12,7 +12,6 @@
|
| #include <ostream>
|
|
|
| #include "base/gtest_prod_util.h"
|
| -#include "mojo/edk/system/system_impl_export.h"
|
| #include "mojo/public/cpp/system/macros.h"
|
|
|
| namespace mojo {
|
| @@ -35,7 +34,7 @@ FORWARD_DECLARE_TEST(RemoteChannelEndpointIdGeneratorTest, WrapAround);
|
| // table, such an ID is a "remotely-allocated local ID". From the standpoint of
|
| // the |Channel| allocating such a remote ID (for its peer |Channel|), it's a
|
| // "locally-allocated remote ID".
|
| -class MOJO_SYSTEM_IMPL_EXPORT ChannelEndpointId {
|
| +class ChannelEndpointId {
|
| public:
|
| ChannelEndpointId() : value_(0) {}
|
| ChannelEndpointId(const ChannelEndpointId& other) : value_(other.value_) {}
|
| @@ -81,9 +80,8 @@ static_assert(sizeof(ChannelEndpointId) == sizeof(uint32_t),
|
| "ChannelEndpointId has incorrect size");
|
|
|
| // So logging macros and |DCHECK_EQ()|, etc. work.
|
| -MOJO_SYSTEM_IMPL_EXPORT inline std::ostream& operator<<(
|
| - std::ostream& out,
|
| - const ChannelEndpointId& channel_endpoint_id) {
|
| +inline std::ostream& operator<<(std::ostream& out,
|
| + const ChannelEndpointId& channel_endpoint_id) {
|
| return out << channel_endpoint_id.value();
|
| }
|
|
|
| @@ -92,7 +90,7 @@ MOJO_SYSTEM_IMPL_EXPORT inline std::ostream& operator<<(
|
| // A generator for "new" local |ChannelEndpointId|s. It does not track
|
| // used/existing IDs; that must be done separately. (This class is not
|
| // thread-safe.)
|
| -class MOJO_SYSTEM_IMPL_EXPORT LocalChannelEndpointIdGenerator {
|
| +class LocalChannelEndpointIdGenerator {
|
| public:
|
| LocalChannelEndpointIdGenerator()
|
| : next_(ChannelEndpointId::GetBootstrap()) {}
|
| @@ -113,7 +111,7 @@ class MOJO_SYSTEM_IMPL_EXPORT LocalChannelEndpointIdGenerator {
|
| // locally allocate remote IDs. (See the comment above |ChannelEndpointId| for
|
| // an explanatory note.) It does not track used/existing IDs; that must be done
|
| // separately. (This class is not thread-safe.)
|
| -class MOJO_SYSTEM_IMPL_EXPORT RemoteChannelEndpointIdGenerator {
|
| +class RemoteChannelEndpointIdGenerator {
|
| public:
|
| RemoteChannelEndpointIdGenerator() : next_(ChannelEndpointId::kRemoteFlag) {}
|
|
|
|
|