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

Side by Side Diff: sandbox/linux/services/credentials_unittest.cc

Issue 1544283002: Clean up header files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « sandbox/linux/services/credentials.cc ('k') | sandbox/win/src/handle_closer_agent.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 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 "sandbox/linux/services/credentials.h" 5 #include "sandbox/linux/services/credentials.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <fcntl.h> 8 #include <fcntl.h>
9 #include <limits.h>
9 #include <pthread.h> 10 #include <pthread.h>
10 #include <signal.h> 11 #include <signal.h>
11 #include <stdio.h> 12 #include <stdio.h>
12 #include <sys/capability.h> 13 #include <sys/capability.h>
13 #include <sys/stat.h> 14 #include <sys/stat.h>
14 #include <sys/types.h> 15 #include <sys/types.h>
15 #include <unistd.h> 16 #include <unistd.h>
16 17
17 #include <vector> 18 #include <vector>
18 19
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 action.sa_handler = &SignalHandler; 261 action.sa_handler = &SignalHandler;
261 PCHECK(sigaction(SIGUSR1, &action, nullptr) == 0); 262 PCHECK(sigaction(SIGUSR1, &action, nullptr) == 0);
262 263
263 PCHECK(raise(SIGUSR1) == 0); 264 PCHECK(raise(SIGUSR1) == 0);
264 CHECK_EQ(1, signal_handler_called); 265 CHECK_EQ(1, signal_handler_called);
265 } 266 }
266 267
267 } // namespace. 268 } // namespace.
268 269
269 } // namespace sandbox. 270 } // namespace sandbox.
OLDNEW
« no previous file with comments | « sandbox/linux/services/credentials.cc ('k') | sandbox/win/src/handle_closer_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698