OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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/browser/sandbox_policy.h" | 5 #include "chrome/browser/sandbox_policy.h" |
6 | 6 |
7 #include "app/win_util.h" | 7 #include "app/win_util.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/debug_util.h" | 9 #include "base/debug_util.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
13 #include "base/process_util.h" | 13 #include "base/process_util.h" |
14 #include "base/registry.h" | 14 #include "base/registry.h" |
15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
16 #include "base/win_util.h" | 16 #include "base/win_util.h" |
17 #include "chrome/browser/browser_process.h" | 17 #include "chrome/browser/browser_process.h" |
18 #include "chrome/common/child_process_info.h" | 18 #include "chrome/common/child_process_info.h" |
19 #include "chrome/common/chrome_constants.h" | 19 #include "chrome/common/chrome_constants.h" |
20 #include "chrome/common/chrome_paths.h" | 20 #include "chrome/common/chrome_paths.h" |
21 #include "chrome/common/chrome_switches.h" | 21 #include "chrome/common/chrome_switches.h" |
22 #include "chrome/common/debug_flags.h" | 22 #include "chrome/common/debug_flags.h" |
23 #include "chrome/common/ipc_logging.h" | |
24 #include "chrome/common/notification_service.h" | 23 #include "chrome/common/notification_service.h" |
| 24 #include "ipc/ipc_logging.h" |
25 #include "sandbox/src/sandbox.h" | 25 #include "sandbox/src/sandbox.h" |
26 #include "webkit/glue/plugins/plugin_list.h" | 26 #include "webkit/glue/plugins/plugin_list.h" |
27 | 27 |
28 namespace { | 28 namespace { |
29 | 29 |
30 // The DLLs listed here are known (or under strong suspicion) of causing crashes | 30 // The DLLs listed here are known (or under strong suspicion) of causing crashes |
31 // when they are loaded in the renderer. | 31 // when they are loaded in the renderer. |
32 const wchar_t* const kTroublesomeDlls[] = { | 32 const wchar_t* const kTroublesomeDlls[] = { |
33 L"adialhk.dll", // Kaspersky Internet Security. | 33 L"adialhk.dll", // Kaspersky Internet Security. |
34 L"acpiz.dll", // Unknown. | 34 L"acpiz.dll", // Unknown. |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 | 445 |
446 // Help the process a little. It can't start the debugger by itself if | 446 // Help the process a little. It can't start the debugger by itself if |
447 // the process is in a sandbox. | 447 // the process is in a sandbox. |
448 if (child_needs_help) | 448 if (child_needs_help) |
449 DebugUtil::SpawnDebuggerOnProcess(target.dwProcessId); | 449 DebugUtil::SpawnDebuggerOnProcess(target.dwProcessId); |
450 | 450 |
451 return process; | 451 return process; |
452 } | 452 } |
453 | 453 |
454 } // namespace sandbox | 454 } // namespace sandbox |
OLD | NEW |