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

Side by Side Diff: ipc/ipc_test_sink.cc

Issue 320433002: IPC::Channel: Reduce POSIX specific API surface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Landig 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 | « ipc/ipc_test_sink.h ('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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "ipc/ipc_test_sink.h" 5 #include "ipc/ipc_test_sink.h"
6 6
7 #include "ipc/ipc_listener.h" 7 #include "ipc/ipc_listener.h"
8 #include "ipc/ipc_message.h" 8 #include "ipc/ipc_message.h"
9 9
10 namespace IPC { 10 namespace IPC {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 int TestSink::GetClientFileDescriptor() const { 94 int TestSink::GetClientFileDescriptor() const {
95 NOTREACHED(); 95 NOTREACHED();
96 return -1; 96 return -1;
97 } 97 }
98 98
99 int TestSink::TakeClientFileDescriptor() { 99 int TestSink::TakeClientFileDescriptor() {
100 NOTREACHED(); 100 NOTREACHED();
101 return -1; 101 return -1;
102 } 102 }
103 103
104 bool TestSink::AcceptsConnections() const {
105 NOTREACHED();
106 return false;
107 }
108
109 bool TestSink::HasAcceptedConnection() const {
110 NOTREACHED();
111 return false;
112 }
113
114 bool TestSink::GetPeerEuid(uid_t* peer_euid) const {
115 NOTREACHED();
116 return false;
117 }
118
119 void TestSink::ResetToAcceptingConnectionState() {
120 NOTREACHED();
121 }
122
123 #endif // defined(OS_POSIX) && !defined(OS_NACL) 104 #endif // defined(OS_POSIX) && !defined(OS_NACL)
124 105
125 } // namespace IPC 106 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/ipc_test_sink.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698