Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: chrome/common/debug_flags.h

Issue 6612040: Move ChildProcessHost and ChildProcessInfo to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/child_process_info.cc ('k') | chrome/common/sandbox_policy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_COMMON_DEBUG_FLAGS_H__ 5 #ifndef CHROME_COMMON_DEBUG_FLAGS_H__
6 #define CHROME_COMMON_DEBUG_FLAGS_H__ 6 #define CHROME_COMMON_DEBUG_FLAGS_H__
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/common/child_process_info.h" 9 #include "content/common/child_process_info.h"
10 10
11 class CommandLine; 11 class CommandLine;
12 12
13 class DebugFlags { 13 class DebugFlags {
14 public: 14 public:
15 15
16 // Updates the command line arguments with debug-related flags. If 16 // Updates the command line arguments with debug-related flags. If
17 // debug flags have been used with this process, they will be 17 // debug flags have been used with this process, they will be
18 // filtered and added to command_line as needed. is_in_sandbox must 18 // filtered and added to command_line as needed. is_in_sandbox must
19 // be true if the child process will be in a sandbox. 19 // be true if the child process will be in a sandbox.
20 // 20 //
21 // Returns true if the caller should "help" the child process by 21 // Returns true if the caller should "help" the child process by
22 // calling the JIT debugger on it. It may only happen if 22 // calling the JIT debugger on it. It may only happen if
23 // is_in_sandbox is true. 23 // is_in_sandbox is true.
24 static bool ProcessDebugFlags(CommandLine* command_line, 24 static bool ProcessDebugFlags(CommandLine* command_line,
25 ChildProcessInfo::ProcessType type, 25 ChildProcessInfo::ProcessType type,
26 bool is_in_sandbox); 26 bool is_in_sandbox);
27 }; 27 };
28 28
29 #endif // CHROME_COMMON_DEBUG_FLAGS_H__ 29 #endif // CHROME_COMMON_DEBUG_FLAGS_H__
OLDNEW
« no previous file with comments | « chrome/common/child_process_info.cc ('k') | chrome/common/sandbox_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698