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

Side by Side Diff: src/trusted/desc/nacl_desc_wrapper.h

Issue 9705008: NaClDesc: Undo erroneous renaming of the DescWrapper methods (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 8 years, 9 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 | « no previous file | src/trusted/desc/nacl_desc_wrapper.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 (c) 2012 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2012 The Native Client 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 #ifndef NATIVE_CLIENT_SRC_TRUSTED_DESC_NACL_DESC_WRAPPER_H_ 5 #ifndef NATIVE_CLIENT_SRC_TRUSTED_DESC_NACL_DESC_WRAPPER_H_
6 #define NATIVE_CLIENT_SRC_TRUSTED_DESC_NACL_DESC_WRAPPER_H_ 6 #define NATIVE_CLIENT_SRC_TRUSTED_DESC_NACL_DESC_WRAPPER_H_
7 7
8 #include "native_client/src/include/nacl_base.h" 8 #include "native_client/src/include/nacl_base.h"
9 #include "native_client/src/trusted/desc/nacl_desc_base.h" 9 #include "native_client/src/trusted/desc/nacl_desc_base.h"
10 #include "native_client/src/trusted/desc/nrd_xfer.h" 10 #include "native_client/src/trusted/desc/nrd_xfer.h"
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // Signal a condition variable. 169 // Signal a condition variable.
170 // Returns zero on success, negative NaCl ABI errno on failure. 170 // Returns zero on success, negative NaCl ABI errno on failure.
171 int Signal(); 171 int Signal();
172 172
173 // Broadcast to a condition variable. 173 // Broadcast to a condition variable.
174 // Returns zero on success, negative NaCl ABI errno on failure. 174 // Returns zero on success, negative NaCl ABI errno on failure.
175 int Broadcast(); 175 int Broadcast();
176 176
177 // Send a message. 177 // Send a message.
178 // Returns bytes sent on success, negative NaCl ABI errno on failure. 178 // Returns bytes sent on success, negative NaCl ABI errno on failure.
179 ssize_t LowLevelSendMsg(const MsgHeader* dgram, int flags); 179 ssize_t SendMsg(const MsgHeader* dgram, int flags);
180 180
181 // Receive a message. 181 // Receive a message.
182 // Returns bytes received on success, negative NaCl ABI errno on failure. 182 // Returns bytes received on success, negative NaCl ABI errno on failure.
183 ssize_t LowLevelRecvMsg(MsgHeader* dgram, int flags, 183 ssize_t RecvMsg(MsgHeader* dgram, int flags,
184 struct NaClDescQuotaInterface *quota_interface); 184 struct NaClDescQuotaInterface *quota_interface);
185 185
186 // Connect to a socket address. 186 // Connect to a socket address.
187 // Returns a valid DescWrapper on success, NULL on failure. 187 // Returns a valid DescWrapper on success, NULL on failure.
188 DescWrapper* Connect(); 188 DescWrapper* Connect();
189 189
190 // Accept connection on a bound socket. 190 // Accept connection on a bound socket.
191 // Returns a valid DescWrapper on success, NULL on failure. 191 // Returns a valid DescWrapper on success, NULL on failure.
192 DescWrapper* Accept(); 192 DescWrapper* Accept();
193 193
194 // Post on a semaphore. 194 // Post on a semaphore.
(...skipping 13 matching lines...) Expand all
208 208
209 DescWrapperCommon* common_data_; 209 DescWrapperCommon* common_data_;
210 struct NaClDesc* desc_; 210 struct NaClDesc* desc_;
211 211
212 DISALLOW_COPY_AND_ASSIGN(DescWrapper); 212 DISALLOW_COPY_AND_ASSIGN(DescWrapper);
213 }; 213 };
214 214
215 } // namespace nacl 215 } // namespace nacl
216 216
217 #endif // NATIVE_CLIENT_SRC_TRUSTED_DESC_NACL_DESC_WRAPPER_H_ 217 #endif // NATIVE_CLIENT_SRC_TRUSTED_DESC_NACL_DESC_WRAPPER_H_
OLDNEW
« no previous file with comments | « no previous file | src/trusted/desc/nacl_desc_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698