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

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

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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/edk/system/message_pipe_endpoint.h ('k') | mojo/edk/system/message_pipe_perftest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "mojo/edk/system/message_pipe_endpoint.h"
6
7 #include "base/logging.h"
8
9 namespace mojo {
10 namespace system {
11
12 void MessagePipeEndpoint::CancelAllAwakables() {
13 NOTREACHED();
14 }
15
16 MojoResult MessagePipeEndpoint::ReadMessage(UserPointer<void> /*bytes*/,
17 UserPointer<uint32_t> /*num_bytes*/,
18 DispatcherVector* /*dispatchers*/,
19 uint32_t* /*num_dispatchers*/,
20 MojoReadMessageFlags /*flags*/) {
21 NOTREACHED();
22 return MOJO_RESULT_INTERNAL;
23 }
24
25 HandleSignalsState MessagePipeEndpoint::GetHandleSignalsState() const {
26 NOTREACHED();
27 return HandleSignalsState();
28 }
29
30 MojoResult MessagePipeEndpoint::AddAwakable(Awakable* /*awakable*/,
31 MojoHandleSignals /*signals*/,
32 uint32_t /*context*/,
33 HandleSignalsState* signals_state) {
34 NOTREACHED();
35 if (signals_state)
36 *signals_state = HandleSignalsState();
37 return MOJO_RESULT_INTERNAL;
38 }
39
40 void MessagePipeEndpoint::RemoveAwakable(Awakable* /*awakable*/,
41 HandleSignalsState* signals_state) {
42 NOTREACHED();
43 if (signals_state)
44 *signals_state = HandleSignalsState();
45 }
46
47 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) {
48 NOTREACHED();
49 }
50
51 } // namespace system
52 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/message_pipe_endpoint.h ('k') | mojo/edk/system/message_pipe_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698