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

Unified Diff: sandbox/src/sandbox_types.h

Issue 8414020: Expose the sandbox related code through the content API. I did a bit of cleanup while I was doing... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/sandbox_types.h
===================================================================
--- sandbox/src/sandbox_types.h (revision 107845)
+++ sandbox/src/sandbox_types.h (working copy)
@@ -51,16 +51,11 @@
SBOX_FATAL_CLOSEHANDLES = 7010 // Failed to close pending handles.
};
-class TargetServices;
class BrokerServices;
+class TargetServices;
-// Contains the pointer to a target or broker service. Older code used
-// a union so the |legacy| member is there for us to detect we are
-// being passed a SandboxInterfaceInfo by old code. If legacy is not
-// null it means we are dealing with old code a must copy this value
-// into both |broker_services| and |target_services|.
+// Contains the pointer to a target or broker service.
struct SandboxInterfaceInfo {
- void* legacy;
BrokerServices* broker_services;
TargetServices* target_services;
};

Powered by Google App Engine
This is Rietveld 408576698