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

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

Issue 612183002: Mojo: Remove MessagePipe::OnRemove(); instead just use MessagePipe::Close(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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') | no next file » | 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 #include "mojo/system/message_pipe_endpoint.h" 5 #include "mojo/system/message_pipe_endpoint.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace mojo { 9 namespace mojo {
10 namespace system { 10 namespace system {
11 11
12 void MessagePipeEndpoint::Close() { 12 void MessagePipeEndpoint::Close() {
13 NOTREACHED();
14 } 13 }
15 14
16 void MessagePipeEndpoint::CancelAllWaiters() { 15 void MessagePipeEndpoint::CancelAllWaiters() {
17 NOTREACHED(); 16 NOTREACHED();
18 } 17 }
19 18
20 MojoResult MessagePipeEndpoint::ReadMessage(UserPointer<void> /*bytes*/, 19 MojoResult MessagePipeEndpoint::ReadMessage(UserPointer<void> /*bytes*/,
21 UserPointer<uint32_t> /*num_bytes*/, 20 UserPointer<uint32_t> /*num_bytes*/,
22 DispatcherVector* /*dispatchers*/, 21 DispatcherVector* /*dispatchers*/,
23 uint32_t* /*num_dispatchers*/, 22 uint32_t* /*num_dispatchers*/,
(...skipping 23 matching lines...) Expand all
47 if (signals_state) 46 if (signals_state)
48 *signals_state = HandleSignalsState(); 47 *signals_state = HandleSignalsState();
49 } 48 }
50 49
51 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) { 50 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) {
52 NOTREACHED(); 51 NOTREACHED();
53 } 52 }
54 53
55 } // namespace system 54 } // namespace system
56 } // namespace mojo 55 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/system/message_pipe.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698