| Index: sandbox/win/src/sandbox_policy_base.h
|
| diff --git a/sandbox/win/src/sandbox_policy_base.h b/sandbox/win/src/sandbox_policy_base.h
|
| index 587d7934d3b24dc57a75788a9b4d26a48c9e2b4b..7a710322ce59424c47d34664c0aa7f1c15459df4 100644
|
| --- a/sandbox/win/src/sandbox_policy_base.h
|
| +++ b/sandbox/win/src/sandbox_policy_base.h
|
| @@ -67,6 +67,8 @@ class PolicyBase : public Dispatcher, public TargetPolicy {
|
| ResultCode AddDllToUnload(const wchar_t* dll_name) override;
|
| ResultCode AddKernelObjectToClose(const base::char16* handle_type,
|
| const base::char16* handle_name) override;
|
| + void AddHandleToShare(HANDLE handle) override;
|
| + HandleList GetHandlesBeingShared() override;
|
|
|
| // Dispatcher:
|
| Dispatcher* OnMessageReady(IPCParams* ipc,
|
| @@ -163,6 +165,11 @@ class PolicyBase : public Dispatcher, public TargetPolicy {
|
| static HWINSTA alternate_winstation_handle_;
|
| static IntegrityLevel alternate_desktop_integrity_level_label_;
|
|
|
| + // Contains the list of handles being shared with the target process.
|
| + // This list contains handles other than the stderr/stdout handles which are
|
| + // shared with the target at times.
|
| + std::vector<HANDLE> handles_to_share_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(PolicyBase);
|
| };
|
|
|
|
|