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

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

Issue 619623003: Mojo: Don't do any work in ProxyMessagePipeEndpoint's destructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_endpoint.h ('k') | mojo/system/proxy_message_pipe_endpoint.h » ('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 #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() {
13 }
14
15 void MessagePipeEndpoint::CancelAllWaiters() { 12 void MessagePipeEndpoint::CancelAllWaiters() {
16 NOTREACHED(); 13 NOTREACHED();
17 } 14 }
18 15
19 MojoResult MessagePipeEndpoint::ReadMessage(UserPointer<void> /*bytes*/, 16 MojoResult MessagePipeEndpoint::ReadMessage(UserPointer<void> /*bytes*/,
20 UserPointer<uint32_t> /*num_bytes*/, 17 UserPointer<uint32_t> /*num_bytes*/,
21 DispatcherVector* /*dispatchers*/, 18 DispatcherVector* /*dispatchers*/,
22 uint32_t* /*num_dispatchers*/, 19 uint32_t* /*num_dispatchers*/,
23 MojoReadMessageFlags /*flags*/) { 20 MojoReadMessageFlags /*flags*/) {
24 NOTREACHED(); 21 NOTREACHED();
(...skipping 21 matching lines...) Expand all
46 if (signals_state) 43 if (signals_state)
47 *signals_state = HandleSignalsState(); 44 *signals_state = HandleSignalsState();
48 } 45 }
49 46
50 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) { 47 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) {
51 NOTREACHED(); 48 NOTREACHED();
52 } 49 }
53 50
54 } // namespace system 51 } // namespace system
55 } // namespace mojo 52 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/system/message_pipe_endpoint.h ('k') | mojo/system/proxy_message_pipe_endpoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698