OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/common/sandbox_win.h" | 5 #include "content/common/sandbox_win.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/base_switches.h" | 9 #include "base/base_switches.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/debug/profiler.h" | 11 #include "base/debug/profiler.h" |
12 #include "base/debug/trace_event.h" | 12 #include "base/debug/trace_event.h" |
13 #include "base/file_util.h" | 13 #include "base/files/file_util.h" |
14 #include "base/hash.h" | 14 #include "base/hash.h" |
15 #include "base/metrics/field_trial.h" | 15 #include "base/metrics/field_trial.h" |
16 #include "base/path_service.h" | 16 #include "base/path_service.h" |
17 #include "base/process/launch.h" | 17 #include "base/process/launch.h" |
18 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
19 #include "base/strings/stringprintf.h" | 19 #include "base/strings/stringprintf.h" |
20 #include "base/win/iat_patch_function.h" | 20 #include "base/win/iat_patch_function.h" |
21 #include "base/win/scoped_handle.h" | 21 #include "base/win/scoped_handle.h" |
22 #include "base/win/scoped_process_information.h" | 22 #include "base/win/scoped_process_information.h" |
23 #include "base/win/windows_version.h" | 23 #include "base/win/windows_version.h" |
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 } | 789 } |
790 | 790 |
791 return false; | 791 return false; |
792 } | 792 } |
793 | 793 |
794 bool BrokerAddTargetPeer(HANDLE peer_process) { | 794 bool BrokerAddTargetPeer(HANDLE peer_process) { |
795 return g_broker_services->AddTargetPeer(peer_process) == sandbox::SBOX_ALL_OK; | 795 return g_broker_services->AddTargetPeer(peer_process) == sandbox::SBOX_ALL_OK; |
796 } | 796 } |
797 | 797 |
798 } // namespace content | 798 } // namespace content |
OLD | NEW |