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

Side by Side Diff: mojo/edk/embedder/platform_channel_utils_posix.cc

Issue 2039713004: [mojo-edk] Make the Mojo EDK compile under NaCl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows build. Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/embedder/platform_channel_utils_posix.h" 5 #include "mojo/edk/embedder/platform_channel_utils_posix.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <sys/socket.h> 8 #include <sys/socket.h>
9 #if !defined(OS_NACL)
9 #include <sys/uio.h> 10 #include <sys/uio.h>
11 #endif
10 #include <unistd.h> 12 #include <unistd.h>
11 13
12 #include "base/logging.h" 14 #include "base/logging.h"
13 #include "base/posix/eintr_wrapper.h" 15 #include "base/posix/eintr_wrapper.h"
14 #include "build/build_config.h" 16 #include "build/build_config.h"
15 17
16 #if !defined(SO_PEEK_OFF) 18 #if !defined(SO_PEEK_OFF)
17 #define SO_PEEK_OFF 42 19 #define SO_PEEK_OFF 42
18 #endif 20 #endif
19 21
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 DCHECK(platform_handles->back().is_valid()); 186 DCHECK(platform_handles->back().is_valid());
185 } 187 }
186 } 188 }
187 } 189 }
188 190
189 return result; 191 return result;
190 } 192 }
191 193
192 } // namespace edk 194 } // namespace edk
193 } // namespace mojo 195 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698