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

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

Issue 604443002: Mojo: Remove ProxyMessagePipeEndpoint::OnRemove(), etc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@del_pmpe_run-x-del_mp_attach-x-move_paused_message_queue-x-del_pmpe_attach
Patch Set: rebased Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « mojo/system/message_pipe.cc ('k') | mojo/system/message_pipe_endpoint.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_MESSAGE_PIPE_ENDPOINT_H_ 5 #ifndef MOJO_SYSTEM_MESSAGE_PIPE_ENDPOINT_H_
6 #define MOJO_SYSTEM_MESSAGE_PIPE_ENDPOINT_H_ 6 #define MOJO_SYSTEM_MESSAGE_PIPE_ENDPOINT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 virtual MojoResult AddWaiter(Waiter* waiter, 68 virtual MojoResult AddWaiter(Waiter* waiter,
69 MojoHandleSignals signals, 69 MojoHandleSignals signals,
70 uint32_t context, 70 uint32_t context,
71 HandleSignalsState* signals_state); 71 HandleSignalsState* signals_state);
72 virtual void RemoveWaiter(Waiter* waiter, HandleSignalsState* signals_state); 72 virtual void RemoveWaiter(Waiter* waiter, HandleSignalsState* signals_state);
73 73
74 // Implementations must override these if they represent a proxy endpoint. An 74 // Implementations must override these if they represent a proxy endpoint. An
75 // implementation for a local endpoint needs not override these methods, since 75 // implementation for a local endpoint needs not override these methods, since
76 // they should never be called. 76 // they should never be called.
77 virtual void Attach(ChannelEndpoint* channel_endpoint); 77 virtual void Attach(ChannelEndpoint* channel_endpoint);
78 virtual void OnRemove();
79 78
80 protected: 79 protected:
81 MessagePipeEndpoint() {} 80 MessagePipeEndpoint() {}
82 81
83 private: 82 private:
84 DISALLOW_COPY_AND_ASSIGN(MessagePipeEndpoint); 83 DISALLOW_COPY_AND_ASSIGN(MessagePipeEndpoint);
85 }; 84 };
86 85
87 } // namespace system 86 } // namespace system
88 } // namespace mojo 87 } // namespace mojo
89 88
90 #endif // MOJO_SYSTEM_MESSAGE_PIPE_ENDPOINT_H_ 89 #endif // MOJO_SYSTEM_MESSAGE_PIPE_ENDPOINT_H_
OLDNEW
« no previous file with comments | « mojo/system/message_pipe.cc ('k') | mojo/system/message_pipe_endpoint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698