| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ |
| OLD | NEW |