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

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

Issue 345463003: Mojo: MojoWaitFlags -> MojoHandleSignals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « mojo/system/message_pipe_endpoint.h ('k') | mojo/system/multiprocess_message_pipe_unittest.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 #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 #include "mojo/system/channel.h" 8 #include "mojo/system/channel.h"
9 9
10 namespace mojo { 10 namespace mojo {
(...skipping 10 matching lines...) Expand all
21 MojoResult MessagePipeEndpoint::ReadMessage(void* /*bytes*/, 21 MojoResult MessagePipeEndpoint::ReadMessage(void* /*bytes*/,
22 uint32_t* /*num_bytes*/, 22 uint32_t* /*num_bytes*/,
23 DispatcherVector* /*dispatchers*/, 23 DispatcherVector* /*dispatchers*/,
24 uint32_t* /*num_dispatchers*/, 24 uint32_t* /*num_dispatchers*/,
25 MojoReadMessageFlags /*flags*/) { 25 MojoReadMessageFlags /*flags*/) {
26 NOTREACHED(); 26 NOTREACHED();
27 return MOJO_RESULT_INTERNAL; 27 return MOJO_RESULT_INTERNAL;
28 } 28 }
29 29
30 MojoResult MessagePipeEndpoint::AddWaiter(Waiter* /*waiter*/, 30 MojoResult MessagePipeEndpoint::AddWaiter(Waiter* /*waiter*/,
31 MojoWaitFlags /*flags*/, 31 MojoHandleSignals /*signals*/,
32 uint32_t /*context*/) { 32 uint32_t /*context*/) {
33 NOTREACHED(); 33 NOTREACHED();
34 return MOJO_RESULT_INTERNAL; 34 return MOJO_RESULT_INTERNAL;
35 } 35 }
36 36
37 void MessagePipeEndpoint::RemoveWaiter(Waiter* /*waiter*/) { 37 void MessagePipeEndpoint::RemoveWaiter(Waiter* /*waiter*/) {
38 NOTREACHED(); 38 NOTREACHED();
39 } 39 }
40 40
41 void MessagePipeEndpoint::Attach(scoped_refptr<Channel> /*channel*/, 41 void MessagePipeEndpoint::Attach(scoped_refptr<Channel> /*channel*/,
42 MessageInTransit::EndpointId /*local_id*/) { 42 MessageInTransit::EndpointId /*local_id*/) {
43 NOTREACHED(); 43 NOTREACHED();
44 } 44 }
45 45
46 bool MessagePipeEndpoint::Run(MessageInTransit::EndpointId /*remote_id*/) { 46 bool MessagePipeEndpoint::Run(MessageInTransit::EndpointId /*remote_id*/) {
47 NOTREACHED(); 47 NOTREACHED();
48 return true; 48 return true;
49 } 49 }
50 50
51 void MessagePipeEndpoint::OnRemove() { 51 void MessagePipeEndpoint::OnRemove() {
52 NOTREACHED(); 52 NOTREACHED();
53 } 53 }
54 54
55 } // namespace system 55 } // namespace system
56 } // namespace mojo 56 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/system/message_pipe_endpoint.h ('k') | mojo/system/multiprocess_message_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698