Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3231)

Unified Diff: sandbox/src/target_services.h

Issue 9838083: Add a sandbox API for broker handle duplication (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sandbox/src/target_services.h
===================================================================
--- sandbox/src/target_services.h (revision 128951)
+++ sandbox/src/target_services.h (working copy)
@@ -46,6 +46,12 @@
virtual ResultCode Init();
virtual void LowerToken();
virtual ProcessState* GetState();
+ virtual ResultCode DuplicateHandle(HANDLE source_handle,
+ DWORD target_process_id,
+ HANDLE* target_handle,
+ DWORD desired_access,
+ BOOL inherit_handle,
+ DWORD options);
// Factory method.
static TargetServicesBase* GetInstance();

Powered by Google App Engine
This is Rietveld 408576698