ipc/chromium/src/chrome/common/debug_flags.h

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
michael@0 2 // Use of this source code is governed by a BSD-style license that can be
michael@0 3 // found in the LICENSE file.
michael@0 4
michael@0 5 #ifndef CHROME_COMMON_DEBUG_FLAGS_H__
michael@0 6 #define CHROME_COMMON_DEBUG_FLAGS_H__
michael@0 7
michael@0 8 #include "chrome/common/child_process_info.h"
michael@0 9
michael@0 10 class CommandLine;
michael@0 11
michael@0 12 class DebugFlags {
michael@0 13 public:
michael@0 14
michael@0 15 // Updates the command line arguments with debug-related flags. If
michael@0 16 // debug flags have been used with this process, they will be
michael@0 17 // filtered and added to command_line as needed. is_in_sandbox must
michael@0 18 // be true if the child process will be in a sandbox.
michael@0 19 //
michael@0 20 // Returns true if the caller should "help" the child process by
michael@0 21 // calling the JIT debugger on it. It may only happen if
michael@0 22 // is_in_sandbox is true.
michael@0 23 static bool ProcessDebugFlags(CommandLine* command_line,
michael@0 24 ChildProcessInfo::ProcessType type,
michael@0 25 bool is_in_sandbox);
michael@0 26 };
michael@0 27
michael@0 28 #endif // CHROME_COMMON_DEBUG_FLAGS_H__

mercurial