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

Side by Side Diff: sandbox/linux/services/thread_helpers_unittests.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, 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
« no previous file with comments | « sandbox/linux/services/thread_helpers.cc ('k') | sandbox/linux/services/yama.h » ('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 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 <sys/stat.h> 9 #include <sys/stat.h>
10 #include <sys/types.h> 10 #include <sys/types.h>
11 #include <unistd.h> 11 #include <unistd.h>
12 12
13 #include "base/basictypes.h"
14 #include "base/logging.h" 13 #include "base/logging.h"
15 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
16 #include "base/posix/eintr_wrapper.h" 15 #include "base/posix/eintr_wrapper.h"
17 #include "base/process/process_metrics.h" 16 #include "base/process/process_metrics.h"
18 #include "base/threading/platform_thread.h" 17 #include "base/threading/platform_thread.h"
19 #include "base/threading/thread.h" 18 #include "base/threading/thread.h"
20 #include "build/build_config.h" 19 #include "build/build_config.h"
21 #include "sandbox/linux/tests/unit_tests.h" 20 #include "sandbox/linux/tests/unit_tests.h"
22 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
23 22
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 SANDBOX_ASSERT(thread1.Start()); 138 SANDBOX_ASSERT(thread1.Start());
140 ThreadHelpers::AssertSingleThreaded(); 139 ThreadHelpers::AssertSingleThreaded();
141 } 140 }
142 #endif // !defined(NDEBUG) 141 #endif // !defined(NDEBUG)
143 142
144 #endif // !defined(THREAD_SANITIZER) 143 #endif // !defined(THREAD_SANITIZER)
145 144
146 } // namespace 145 } // namespace
147 146
148 } // namespace sandbox 147 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/linux/services/thread_helpers.cc ('k') | sandbox/linux/services/yama.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698