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

Side by Side Diff: ipc/ipc_send_fds_test.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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
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/message_loop/message_loop.h"
5 #include "build/build_config.h" 6 #include "build/build_config.h"
6 7
7 #if defined(OS_POSIX) 8 #if defined(OS_POSIX)
8 #if defined(OS_MACOSX) 9 #if defined(OS_MACOSX)
9 extern "C" { 10 extern "C" {
10 #include <sandbox.h> 11 #include <sandbox.h>
11 }; 12 };
12 #endif 13 #endif
13 #include <fcntl.h> 14 #include <fcntl.h>
14 #include <stddef.h> 15 #include <stddef.h>
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 << "Sandbox wasn't properly enabled"; 210 << "Sandbox wasn't properly enabled";
210 211
211 // See if we can receive a file descriptor. 212 // See if we can receive a file descriptor.
212 SendFdsClientCommon("SendFdsSandboxedClient", st.st_ino); 213 SendFdsClientCommon("SendFdsSandboxedClient", st.st_ino);
213 } 214 }
214 #endif // defined(OS_MACOSX) 215 #endif // defined(OS_MACOSX)
215 216
216 } // namespace 217 } // namespace
217 218
218 #endif // defined(OS_POSIX) 219 #endif // defined(OS_POSIX)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698