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

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

Issue 1108173002: Roll //build, //native_client, and a few more targets of opportunity. Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Test fix Created 5 years, 8 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 "sandbox/linux/services/thread_helpers.h" 5 #include "sandbox/linux/services/thread_helpers.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <fcntl.h> 8 #include <fcntl.h>
9 #include <signal.h> 9 #include <signal.h>
10 #include <sys/types.h> 10 #include <sys/types.h>
11 #include <sys/stat.h> 11 #include <sys/stat.h>
12 #include <unistd.h> 12 #include <unistd.h>
13 13
14 #include <string> 14 #include <string>
15 15
16 #include "base/basictypes.h"
17 #include "base/bind.h" 16 #include "base/bind.h"
18 #include "base/callback.h" 17 #include "base/callback.h"
19 #include "base/files/scoped_file.h" 18 #include "base/files/scoped_file.h"
20 #include "base/logging.h" 19 #include "base/logging.h"
21 #include "base/posix/eintr_wrapper.h" 20 #include "base/posix/eintr_wrapper.h"
22 #include "base/strings/string_number_conversions.h" 21 #include "base/strings/string_number_conversions.h"
23 #include "base/threading/platform_thread.h" 22 #include "base/threading/platform_thread.h"
24 #include "base/threading/thread.h" 23 #include "base/threading/thread.h"
25 #include "sandbox/linux/services/proc_util.h" 24 #include "sandbox/linux/services/proc_util.h"
26 25
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 148
150 return true; 149 return true;
151 } 150 }
152 151
153 // static 152 // static
154 const char* ThreadHelpers::GetAssertSingleThreadedErrorMessageForTests() { 153 const char* ThreadHelpers::GetAssertSingleThreadedErrorMessageForTests() {
155 return kAssertSingleThreadedError; 154 return kAssertSingleThreadedError;
156 } 155 }
157 156
158 } // namespace sandbox 157 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/linux/services/thread_helpers.h ('k') | sandbox/linux/services/thread_helpers_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698