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

Side by Side Diff: mojo/system/local_message_pipe_endpoint.h

Issue 106173003: Split mojo_system dylib into public and private (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SYSTEM_LOCAL_MESSAGE_PIPE_ENDPOINT_H_ 5 #ifndef MOJO_SYSTEM_LOCAL_MESSAGE_PIPE_ENDPOINT_H_
6 #define MOJO_SYSTEM_LOCAL_MESSAGE_PIPE_ENDPOINT_H_ 6 #define MOJO_SYSTEM_LOCAL_MESSAGE_PIPE_ENDPOINT_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "mojo/public/system/core.h" 13 #include "mojo/public/system/core.h"
14 #include "mojo/public/system/system_export.h"
15 #include "mojo/system/message_pipe_endpoint.h" 14 #include "mojo/system/message_pipe_endpoint.h"
15 #include "mojo/system/system_impl_export.h"
16 #include "mojo/system/waiter_list.h" 16 #include "mojo/system/waiter_list.h"
17 17
18 namespace mojo { 18 namespace mojo {
19 namespace system { 19 namespace system {
20 20
21 class MOJO_SYSTEM_EXPORT LocalMessagePipeEndpoint : public MessagePipeEndpoint { 21 class MOJO_SYSTEM_IMPL_EXPORT LocalMessagePipeEndpoint
22 : public MessagePipeEndpoint {
22 public: 23 public:
23 LocalMessagePipeEndpoint(); 24 LocalMessagePipeEndpoint();
24 virtual ~LocalMessagePipeEndpoint(); 25 virtual ~LocalMessagePipeEndpoint();
25 26
26 // |MessagePipeEndpoint| implementation: 27 // |MessagePipeEndpoint| implementation:
27 virtual void Close() OVERRIDE; 28 virtual void Close() OVERRIDE;
28 virtual bool OnPeerClose() OVERRIDE; 29 virtual bool OnPeerClose() OVERRIDE;
29 virtual MojoResult CanEnqueueMessage( 30 virtual MojoResult CanEnqueueMessage(
30 const MessageInTransit* message, 31 const MessageInTransit* message,
31 const std::vector<Dispatcher*>* dispatchers) OVERRIDE; 32 const std::vector<Dispatcher*>* dispatchers) OVERRIDE;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 std::deque<MessageQueueEntry> message_queue_; 74 std::deque<MessageQueueEntry> message_queue_;
74 WaiterList waiter_list_; 75 WaiterList waiter_list_;
75 76
76 DISALLOW_COPY_AND_ASSIGN(LocalMessagePipeEndpoint); 77 DISALLOW_COPY_AND_ASSIGN(LocalMessagePipeEndpoint);
77 }; 78 };
78 79
79 } // namespace system 80 } // namespace system
80 } // namespace mojo 81 } // namespace mojo
81 82
82 #endif // MOJO_SYSTEM_LOCAL_MESSAGE_PIPE_ENDPOINT_H_ 83 #endif // MOJO_SYSTEM_LOCAL_MESSAGE_PIPE_ENDPOINT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698