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); |
}; |