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

Side by Side Diff: content/common/sandbox_linux/sandbox_linux.h

Issue 868893004: Replace the asan_coverage GYP flag with sanitizer_coverage which is to be used with other sanitizer… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added the comment Created 5 years, 10 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 | « build/common.gypi ('k') | content/gpu/gpu_main.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 #ifndef CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_LINUX_H_ 5 #ifndef CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_LINUX_H_
6 #define CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_LINUX_H_ 6 #define CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_LINUX_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "content/public/common/sandbox_linux.h" 13 #include "content/public/common/sandbox_linux.h"
14 14
15 #if defined(ADDRESS_SANITIZER) || defined(MEMORY_SANITIZER) || \ 15 #if defined(ADDRESS_SANITIZER) || defined(MEMORY_SANITIZER) || \
16 defined(THREAD_SANITIZER) || defined(LEAK_SANITIZER) || \ 16 defined(THREAD_SANITIZER) || defined(LEAK_SANITIZER) || \
17 defined(UNDEFINED_SANITIZER) 17 defined(UNDEFINED_SANITIZER) || defined(SANITIZER_COVERAGE)
18 #include <sanitizer/common_interface_defs.h> 18 #include <sanitizer/common_interface_defs.h>
19 #define ANY_OF_AMTLU_SANITIZER 1 19 #define ANY_OF_AMTLU_SANITIZER 1
20 #endif 20 #endif
21 21
22 template <typename T> struct DefaultSingletonTraits; 22 template <typename T> struct DefaultSingletonTraits;
23 namespace base { 23 namespace base {
24 class Thread; 24 class Thread;
25 } 25 }
26 namespace sandbox { class SetuidSandboxClient; } 26 namespace sandbox { class SetuidSandboxClient; }
27 27
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 #if defined(ANY_OF_AMTLU_SANITIZER) 168 #if defined(ANY_OF_AMTLU_SANITIZER)
169 scoped_ptr<__sanitizer_sandbox_arguments> sanitizer_args_; 169 scoped_ptr<__sanitizer_sandbox_arguments> sanitizer_args_;
170 #endif 170 #endif
171 171
172 DISALLOW_COPY_AND_ASSIGN(LinuxSandbox); 172 DISALLOW_COPY_AND_ASSIGN(LinuxSandbox);
173 }; 173 };
174 174
175 } // namespace content 175 } // namespace content
176 176
177 #endif // CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_LINUX_H_ 177 #endif // CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_LINUX_H_
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | content/gpu/gpu_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698