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

Unified Diff: chrome/common/debug_flags.h

Issue 18248: CommandLine API rework (Closed)
Patch Set: fixes Created 11 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/common_glue.cc ('k') | chrome/common/debug_flags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/debug_flags.h
diff --git a/chrome/common/debug_flags.h b/chrome/common/debug_flags.h
index 9d4ebbaf3f62a0cd7de71d0620fd25f9f1ffc9a2..c2115a9d9a86c002066ec6100044b45de8cc30c4 100644
--- a/chrome/common/debug_flags.h
+++ b/chrome/common/debug_flags.h
@@ -5,7 +5,7 @@
#ifndef CHROME_COMMON_DEBUG_FLAGS_H__
#define CHROME_COMMON_DEBUG_FLAGS_H__
-#include <string>
+class CommandLine;
class DebugFlags {
public:
@@ -15,13 +15,15 @@ class DebugFlags {
UNKNOWN
};
- // Updates the command line arguments with debug-related flags. If debug flags
- // have been used with this process, they will be filtered and added to
- // command_line as needed. is_in_sandbox must be true if the child process will
- // be in a sandbox.
- // Returns true if the caller should "help" the child process by calling the JIT
- // debugger on it. It may only happen if is_in_sandbox is true.
- static bool ProcessDebugFlags(std::wstring* command_line,
+ // Updates the command line arguments with debug-related flags. If
+ // debug flags have been used with this process, they will be
+ // filtered and added to command_line as needed. is_in_sandbox must
+ // be true if the child process will be in a sandbox.
+ //
+ // Returns true if the caller should "help" the child process by
+ // calling the JIT debugger on it. It may only happen if
+ // is_in_sandbox is true.
+ static bool ProcessDebugFlags(CommandLine* command_line,
ChildProcessType type,
bool is_in_sandbox);
};
« no previous file with comments | « chrome/common/common_glue.cc ('k') | chrome/common/debug_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698