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
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_DEBUG_FLAGS_H_
6 #define CONTENT_COMMON_DEBUG_FLAGS_H_
8 #include "content/public/common/process_type.h"
14 // Updates the command line arguments with debug-related flags. If
15 // debug flags have been used with this process, they will be
16 // filtered and added to command_line as needed. is_in_sandbox must
17 // be true if the child process will be in a sandbox.
19 // Returns true if the caller should "help" the child process by
20 // calling the JIT debugger on it. It may only happen if
21 // is_in_sandbox is true.
22 bool ProcessDebugFlags(CommandLine
* command_line
,
26 }; // namespace content
28 #endif // CONTENT_COMMON_DEBUG_FLAGS_H_