| Index: content/common/sandbox_linux/sandbox_debug_handling_linux.h
|
| diff --git a/content/common/sandbox_linux/sandbox_debug_handling_linux.h b/content/common/sandbox_linux/sandbox_debug_handling_linux.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..248b54b43e7daa8d5df29088a85912aaf8637b36
|
| --- /dev/null
|
| +++ b/content/common/sandbox_linux/sandbox_debug_handling_linux.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_DEBUG_HANDLING_LINUX_H_
|
| +#define CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_DEBUG_HANDLING_LINUX_H_
|
| +
|
| +#include "base/macros.h"
|
| +
|
| +namespace content {
|
| +
|
| +class SandboxDebugHandling {
|
| + public:
|
| + // Depending on the command line, set the current process as
|
| + // non dumpable. Also set any signal handlers for sandbox
|
| + // debugging.
|
| + static bool SetDumpableStatusAndHandlers();
|
| +
|
| + private:
|
| + DISALLOW_IMPLICIT_CONSTRUCTORS(SandboxDebugHandling);
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_COMMON_SANDBOX_LINUX_SANDBOX_DEBUG_HANDLING_LINUX_H_
|
|
|