| Index: sandbox/win/src/registry_dispatcher.cc
|
| diff --git a/sandbox/win/src/registry_dispatcher.cc b/sandbox/win/src/registry_dispatcher.cc
|
| index 267a592bf00b34494c8c83830b1b0dd2af2dcd5c..d90d77d126cb37a188c8d1ae5ecca1d13845e591 100644
|
| --- a/sandbox/win/src/registry_dispatcher.cc
|
| +++ b/sandbox/win/src/registry_dispatcher.cc
|
| @@ -39,8 +39,8 @@ bool GetCompletePath(HANDLE root, const base::string16& name,
|
|
|
| namespace sandbox {
|
|
|
| -RegistryDispatcher::RegistryDispatcher(PolicyBase* policy_base)
|
| - : policy_base_(policy_base) {
|
| +RegistryDispatcher::RegistryDispatcher(TargetPolicy* policy)
|
| + : policy_(policy) {
|
| static const IPCCall create_params = {
|
| {IPC_NTCREATEKEY_TAG,
|
| {WCHAR_TYPE,
|
| @@ -106,8 +106,8 @@ bool RegistryDispatcher::NtCreateKey(IPCInfo* ipc,
|
| params[OpenKey::NAME] = ParamPickerMake(regname);
|
| params[OpenKey::ACCESS] = ParamPickerMake(desired_access);
|
|
|
| - EvalResult result = policy_base_->EvalPolicy(IPC_NTCREATEKEY_TAG,
|
| - params.GetBase());
|
| + EvalResult result =
|
| + policy_->EvalPolicy(IPC_NTCREATEKEY_TAG, params.GetBase());
|
|
|
| HANDLE handle;
|
| NTSTATUS nt_status;
|
| @@ -153,8 +153,7 @@ bool RegistryDispatcher::NtOpenKey(IPCInfo* ipc,
|
| params[OpenKey::NAME] = ParamPickerMake(regname);
|
| params[OpenKey::ACCESS] = ParamPickerMake(desired_access);
|
|
|
| - EvalResult result = policy_base_->EvalPolicy(IPC_NTOPENKEY_TAG,
|
| - params.GetBase());
|
| + EvalResult result = policy_->EvalPolicy(IPC_NTOPENKEY_TAG, params.GetBase());
|
| HANDLE handle;
|
| NTSTATUS nt_status;
|
| if (!RegistryPolicy::OpenKeyAction(result, *ipc->client_info, *name,
|
|
|