| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/common/sandbox_policy.h" | 5 #include "chrome/common/sandbox_policy.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "app/win/win_util.h" | |
| 10 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 11 #include "base/debug/debugger.h" | 10 #include "base/debug/debugger.h" |
| 12 #include "base/debug/trace_event.h" | 11 #include "base/debug/trace_event.h" |
| 13 #include "base/file_util.h" | 12 #include "base/file_util.h" |
| 14 #include "base/logging.h" | 13 #include "base/logging.h" |
| 15 #include "base/path_service.h" | 14 #include "base/path_service.h" |
| 16 #include "base/process_util.h" | 15 #include "base/process_util.h" |
| 17 #include "base/stringprintf.h" | 16 #include "base/stringprintf.h" |
| 18 #include "base/string_number_conversions.h" | 17 #include "base/string_number_conversions.h" |
| 19 #include "base/string_util.h" | 18 #include "base/string_util.h" |
| (...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 648 | 647 |
| 649 // Help the process a little. It can't start the debugger by itself if | 648 // Help the process a little. It can't start the debugger by itself if |
| 650 // the process is in a sandbox. | 649 // the process is in a sandbox. |
| 651 if (child_needs_help) | 650 if (child_needs_help) |
| 652 base::debug::SpawnDebuggerOnProcess(target.dwProcessId); | 651 base::debug::SpawnDebuggerOnProcess(target.dwProcessId); |
| 653 | 652 |
| 654 return process; | 653 return process; |
| 655 } | 654 } |
| 656 | 655 |
| 657 } // namespace sandbox | 656 } // namespace sandbox |
| OLD | NEW |