| OLD | NEW |
| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 #if defined(ANY_OF_AMTLU_SANITIZER) | 151 #if defined(ANY_OF_AMTLU_SANITIZER) |
| 152 scoped_ptr<__sanitizer_sandbox_arguments> sanitizer_args_; | 152 scoped_ptr<__sanitizer_sandbox_arguments> sanitizer_args_; |
| 153 #endif | 153 #endif |
| 154 | 154 |
| 155 DISALLOW_COPY_AND_ASSIGN(LinuxSandbox); | 155 DISALLOW_COPY_AND_ASSIGN(LinuxSandbox); |
| 156 }; | 156 }; |
| 157 | 157 |
| 158 } // namespace content | 158 } // namespace content |
| 159 | 159 |
| 160 #endif // CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_LINUX_H_ | 160 #endif // CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_LINUX_H_ |
| OLD | NEW |