1 // Copyright (c) 2011 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_
9 #include "content/common/content_export.h"
10 #include "content/public/common/process_type.h"
14 class CONTENT_EXPORT DebugFlags
{
17 // Updates the command line arguments with debug-related flags. If
18 // debug flags have been used with this process, they will be
19 // filtered and added to command_line as needed. is_in_sandbox must
20 // be true if the child process will be in a sandbox.
22 // Returns true if the caller should "help" the child process by
23 // calling the JIT debugger on it. It may only happen if
24 // is_in_sandbox is true.
25 static bool ProcessDebugFlags(CommandLine
* command_line
,
26 content::ProcessType type
,
30 #endif // CONTENT_COMMON_DEBUG_FLAGS_H_