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

Side by Side Diff: chrome/browser/sandbox_policy.cc

Issue 113169: Move win_util.h from common to app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "chrome/browser/sandbox_policy.h" 5 #include "chrome/browser/sandbox_policy.h"
6 6
7 #include "app/win_util.h"
7 #include "base/command_line.h" 8 #include "base/command_line.h"
8 #include "base/debug_util.h" 9 #include "base/debug_util.h"
9 #include "base/file_util.h" 10 #include "base/file_util.h"
10 #include "base/logging.h" 11 #include "base/logging.h"
11 #include "base/path_service.h" 12 #include "base/path_service.h"
12 #include "base/process_util.h" 13 #include "base/process_util.h"
13 #include "base/registry.h" 14 #include "base/registry.h"
14 #include "base/string_util.h" 15 #include "base/string_util.h"
15 #include "base/win_util.h" 16 #include "base/win_util.h"
16 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
17 #include "chrome/common/child_process_info.h" 18 #include "chrome/common/child_process_info.h"
18 #include "chrome/common/chrome_constants.h" 19 #include "chrome/common/chrome_constants.h"
19 #include "chrome/common/chrome_paths.h" 20 #include "chrome/common/chrome_paths.h"
20 #include "chrome/common/chrome_switches.h" 21 #include "chrome/common/chrome_switches.h"
21 #include "chrome/common/debug_flags.h" 22 #include "chrome/common/debug_flags.h"
22 #include "chrome/common/ipc_logging.h" 23 #include "chrome/common/ipc_logging.h"
23 #include "chrome/common/notification_service.h" 24 #include "chrome/common/notification_service.h"
24 #include "chrome/common/win_util.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 const wchar_t* const kDesktopName = L"ChromeRendererDesktop"; 30 const wchar_t* const kDesktopName = L"ChromeRendererDesktop";
31 31
32 // The DLLs listed here are known (or under strong suspicion) of causing crashes 32 // The DLLs listed here are known (or under strong suspicion) of causing crashes
33 // when they are loaded in the renderer. 33 // when they are loaded in the renderer.
34 const wchar_t* const kTroublesomeDlls[] = { 34 const wchar_t* const kTroublesomeDlls[] = {
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 428
429 // Help the process a little. It can't start the debugger by itself if 429 // Help the process a little. It can't start the debugger by itself if
430 // the process is in a sandbox. 430 // the process is in a sandbox.
431 if (child_needs_help) 431 if (child_needs_help)
432 DebugUtil::SpawnDebuggerOnProcess(target.dwProcessId); 432 DebugUtil::SpawnDebuggerOnProcess(target.dwProcessId);
433 433
434 return process; 434 return process;
435 } 435 }
436 436
437 } // namespace sandbox 437 } // namespace sandbox
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_win.cc ('k') | chrome/browser/shell_integration.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698