| Index: sandbox/src/sandbox_types.h
|
| ===================================================================
|
| --- sandbox/src/sandbox_types.h (revision 76120)
|
| +++ sandbox/src/sandbox_types.h (working copy)
|
| @@ -53,10 +53,15 @@
|
| class TargetServices;
|
| class BrokerServices;
|
|
|
| -// Contains the pointer to a target or broker service.
|
| +// 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|.
|
| struct SandboxInterfaceInfo {
|
| + void* legacy;
|
| + BrokerServices* broker_services;
|
| TargetServices* target_services;
|
| - BrokerServices* broker_services;
|
| };
|
|
|
| #if SANDBOX_EXPORTS
|
|
|