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

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

Issue 3071012: Cleanup: Remove unneeded headers from base/ (part 1) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/installer/setup/setup_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_util.h" 9 #include "app/win_util.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/debug_util.h" 11 #include "base/debug_util.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "base/process_util.h" 15 #include "base/process_util.h"
16 #include "base/registry.h"
17 #include "base/string_util.h" 16 #include "base/string_util.h"
18 #include "base/win_util.h" 17 #include "base/win_util.h"
19 #include "chrome/common/child_process_info.h" 18 #include "chrome/common/child_process_info.h"
20 #include "chrome/common/chrome_constants.h" 19 #include "chrome/common/chrome_constants.h"
21 #include "chrome/common/chrome_paths.h" 20 #include "chrome/common/chrome_paths.h"
22 #include "chrome/common/chrome_switches.h" 21 #include "chrome/common/chrome_switches.h"
23 #include "chrome/common/debug_flags.h" 22 #include "chrome/common/debug_flags.h"
24 #include "sandbox/src/sandbox.h" 23 #include "sandbox/src/sandbox.h"
25 24
26 static sandbox::BrokerServices* g_broker_services = NULL; 25 static sandbox::BrokerServices* g_broker_services = NULL;
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 493
495 // Help the process a little. It can't start the debugger by itself if 494 // Help the process a little. It can't start the debugger by itself if
496 // the process is in a sandbox. 495 // the process is in a sandbox.
497 if (child_needs_help) 496 if (child_needs_help)
498 DebugUtil::SpawnDebuggerOnProcess(target.dwProcessId); 497 DebugUtil::SpawnDebuggerOnProcess(target.dwProcessId);
499 498
500 return process; 499 return process;
501 } 500 }
502 501
503 } // namespace sandbox 502 } // namespace sandbox
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/installer/setup/setup_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698