Index: sandbox/win/src/sandbox_policy_base.cc |
diff --git a/sandbox/win/src/sandbox_policy_base.cc b/sandbox/win/src/sandbox_policy_base.cc |
index f5ed7e4d7325db58d8a76268050389545a81e5a9..a16b0d81d6b01dc6cd1befbe0fa1d4413957cf3d 100644 |
--- a/sandbox/win/src/sandbox_policy_base.cc |
+++ b/sandbox/win/src/sandbox_policy_base.cc |
@@ -423,6 +423,14 @@ ResultCode PolicyBase::AddKernelObjectToClose(const base::char16* handle_type, |
return handle_closer_.AddHandle(handle_type, handle_name); |
} |
+void PolicyBase::AddHandleToShare(HANDLE handle) { |
+ handles_to_share_.push_back(handle); |
+} |
+ |
+HandleList PolicyBase::GetHandlesBeingShared() { |
+ return handles_to_share_; |
+} |
+ |
// When an IPC is ready in any of the targets we get called. We manage an array |
// of IPC dispatchers which are keyed on the IPC tag so we normally delegate |
// to the appropriate dispatcher unless we can handle the IPC call ourselves. |