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/edk/system/message_pipe_endpoint.cc

Issue 782693004: Update mojo sdk to rev f6c8ec07c01deebc13178d516225fd12695c3dc2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack mojo_system_impl gypi for android :| Created 6 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
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/edk/system/message_pipe_endpoint.h" 5 #include "mojo/edk/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::CancelAllWaiters() { 12 void MessagePipeEndpoint::CancelAllAwakables() {
13 NOTREACHED(); 13 NOTREACHED();
14 } 14 }
15 15
16 MojoResult MessagePipeEndpoint::ReadMessage(UserPointer<void> /*bytes*/, 16 MojoResult MessagePipeEndpoint::ReadMessage(UserPointer<void> /*bytes*/,
17 UserPointer<uint32_t> /*num_bytes*/, 17 UserPointer<uint32_t> /*num_bytes*/,
18 DispatcherVector* /*dispatchers*/, 18 DispatcherVector* /*dispatchers*/,
19 uint32_t* /*num_dispatchers*/, 19 uint32_t* /*num_dispatchers*/,
20 MojoReadMessageFlags /*flags*/) { 20 MojoReadMessageFlags /*flags*/) {
21 NOTREACHED(); 21 NOTREACHED();
22 return MOJO_RESULT_INTERNAL; 22 return MOJO_RESULT_INTERNAL;
23 } 23 }
24 24
25 HandleSignalsState MessagePipeEndpoint::GetHandleSignalsState() const { 25 HandleSignalsState MessagePipeEndpoint::GetHandleSignalsState() const {
26 NOTREACHED(); 26 NOTREACHED();
27 return HandleSignalsState(); 27 return HandleSignalsState();
28 } 28 }
29 29
30 MojoResult MessagePipeEndpoint::AddWaiter(Waiter* /*waiter*/, 30 MojoResult MessagePipeEndpoint::AddAwakable(Awakable* /*awakable*/,
31 MojoHandleSignals /*signals*/, 31 MojoHandleSignals /*signals*/,
32 uint32_t /*context*/, 32 uint32_t /*context*/,
33 HandleSignalsState* signals_state) { 33 HandleSignalsState* signals_state) {
34 NOTREACHED(); 34 NOTREACHED();
35 if (signals_state) 35 if (signals_state)
36 *signals_state = HandleSignalsState(); 36 *signals_state = HandleSignalsState();
37 return MOJO_RESULT_INTERNAL; 37 return MOJO_RESULT_INTERNAL;
38 } 38 }
39 39
40 void MessagePipeEndpoint::RemoveWaiter(Waiter* /*waiter*/, 40 void MessagePipeEndpoint::RemoveAwakable(Awakable* /*awakable*/,
41 HandleSignalsState* signals_state) { 41 HandleSignalsState* signals_state) {
42 NOTREACHED(); 42 NOTREACHED();
43 if (signals_state) 43 if (signals_state)
44 *signals_state = HandleSignalsState(); 44 *signals_state = HandleSignalsState();
45 } 45 }
46 46
47 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) { 47 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) {
48 NOTREACHED(); 48 NOTREACHED();
49 } 49 }
50 50
51 } // namespace system 51 } // namespace system
52 } // namespace mojo 52 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698