| OLD | NEW |
| 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 #include <windows.h> | 5 #include <windows.h> |
| 6 | 6 |
| 7 #include "base/debug_on_start.h" | 7 #include "base/debug_on_start.h" |
| 8 | 8 |
| 9 #include "base/base_switches.h" | 9 #include "base/base_switches.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 DebugUtil::SpawnDebuggerOnProcess(GetCurrentProcessId()); | 56 DebugUtil::SpawnDebuggerOnProcess(GetCurrentProcessId()); |
| 57 | 57 |
| 58 // Wait for a debugger to come take us. | 58 // Wait for a debugger to come take us. |
| 59 DebugUtil::WaitForDebugger(60, false); | 59 DebugUtil::WaitForDebugger(60, false); |
| 60 } else if (FindArgument(GetCommandLine(), switches::kWaitForDebugger)) { | 60 } else if (FindArgument(GetCommandLine(), switches::kWaitForDebugger)) { |
| 61 // Wait for a debugger to come take us. | 61 // Wait for a debugger to come take us. |
| 62 DebugUtil::WaitForDebugger(60, true); | 62 DebugUtil::WaitForDebugger(60, true); |
| 63 } | 63 } |
| 64 return 0; | 64 return 0; |
| 65 } | 65 } |
| 66 | |
| OLD | NEW |