| Index: sandbox/src/target_services.cc
|
| ===================================================================
|
| --- sandbox/src/target_services.cc (revision 128951)
|
| +++ sandbox/src/target_services.cc (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -9,6 +9,7 @@
|
| #include "base/basictypes.h"
|
| #include "sandbox/src/crosscall_client.h"
|
| #include "sandbox/src/handle_closer_agent.h"
|
| +#include "sandbox/src/handle_interception.h"
|
| #include "sandbox/src/ipc_tags.h"
|
| #include "sandbox/src/restricted_token_utils.h"
|
| #include "sandbox/src/sandbox.h"
|
| @@ -175,4 +176,15 @@
|
| process_state_ = 3;
|
| }
|
|
|
| +ResultCode TargetServicesBase::DuplicateHandle(HANDLE source_handle,
|
| + DWORD target_process_id,
|
| + HANDLE* target_handle,
|
| + DWORD desired_access,
|
| + BOOL inherit_handle,
|
| + DWORD options) {
|
| + return sandbox::DuplicateHandleProxy(source_handle, target_process_id,
|
| + target_handle, desired_access,
|
| + inherit_handle, options);
|
| +}
|
| +
|
| } // namespace sandbox
|
|
|