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

Side by Side Diff: base/sync_socket_nacl.cc

Issue 10412014: Get PPB_Audio interface building as untrusted code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | ppapi/ppapi_proxy_untrusted.gypi » ('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 Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/sync_socket.h" 5 #include "base/sync_socket.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <limits.h> 8 #include <limits.h>
9 #include <stdio.h> 9 #include <stdio.h>
10 #include <sys/types.h> 10 #include <sys/types.h>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 size_t SyncSocket::Peek() { 44 size_t SyncSocket::Peek() {
45 return 0; 45 return 0;
46 } 46 }
47 47
48 CancelableSyncSocket::CancelableSyncSocket() {} 48 CancelableSyncSocket::CancelableSyncSocket() {}
49 CancelableSyncSocket::CancelableSyncSocket(Handle handle) 49 CancelableSyncSocket::CancelableSyncSocket(Handle handle)
50 : SyncSocket(handle) { 50 : SyncSocket(handle) {
51 } 51 }
52 52
53 size_t CancelableSyncSocket::Send(const void* buffer, size_t length) {
54 return 0;
55 }
56
53 bool CancelableSyncSocket::Shutdown() { 57 bool CancelableSyncSocket::Shutdown() {
54 return false; 58 return false;
55 } 59 }
56 60
57 // static 61 // static
58 bool CancelableSyncSocket::CreatePair(CancelableSyncSocket* socket_a, 62 bool CancelableSyncSocket::CreatePair(CancelableSyncSocket* socket_a,
59 CancelableSyncSocket* socket_b) { 63 CancelableSyncSocket* socket_b) {
60 return SyncSocket::CreatePair(socket_a, socket_b); 64 return SyncSocket::CreatePair(socket_a, socket_b);
61 } 65 }
62 66
63 } // namespace base 67 } // namespace base
OLDNEW
« no previous file with comments | « no previous file | ppapi/ppapi_proxy_untrusted.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698