OLD | NEW |
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 "sandbox/src/sync_dispatcher.h" | 5 #include "sandbox/src/sync_dispatcher.h" |
6 | 6 |
7 #include "base/logging.h" | |
8 #include "sandbox/src/crosscall_client.h" | 7 #include "sandbox/src/crosscall_client.h" |
9 #include "sandbox/src/interception.h" | 8 #include "sandbox/src/interception.h" |
10 #include "sandbox/src/ipc_tags.h" | 9 #include "sandbox/src/ipc_tags.h" |
11 #include "sandbox/src/policy_broker.h" | 10 #include "sandbox/src/policy_broker.h" |
12 #include "sandbox/src/policy_params.h" | 11 #include "sandbox/src/policy_params.h" |
13 #include "sandbox/src/sandbox.h" | 12 #include "sandbox/src/sandbox.h" |
14 #include "sandbox/src/sync_interception.h" | 13 #include "sandbox/src/sync_interception.h" |
15 #include "sandbox/src/sync_policy.h" | 14 #include "sandbox/src/sync_policy.h" |
16 | 15 |
17 namespace sandbox { | 16 namespace sandbox { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 DWORD ret = SyncPolicy::OpenEventAction(result, *ipc->client_info, *name, | 76 DWORD ret = SyncPolicy::OpenEventAction(result, *ipc->client_info, *name, |
78 desired_access, inherit_handle, | 77 desired_access, inherit_handle, |
79 &handle); | 78 &handle); |
80 // Return operation status on the IPC. | 79 // Return operation status on the IPC. |
81 ipc->return_info.win32_result = ret; | 80 ipc->return_info.win32_result = ret; |
82 ipc->return_info.handle = handle; | 81 ipc->return_info.handle = handle; |
83 return true; | 82 return true; |
84 } | 83 } |
85 | 84 |
86 } // namespace sandbox | 85 } // namespace sandbox |
OLD | NEW |