| Index: sandbox/win/src/sandbox.h
|
| diff --git a/sandbox/win/src/sandbox.h b/sandbox/win/src/sandbox.h
|
| index 0f613f7d681870d2f1407fd267c42a3cbbf652fd..029868d4a7f948f9e94ace8b7d48319b85526635 100644
|
| --- a/sandbox/win/src/sandbox.h
|
| +++ b/sandbox/win/src/sandbox.h
|
| @@ -21,7 +21,6 @@
|
|
|
| #include <windows.h>
|
|
|
| -#include "base/memory/ref_counted.h"
|
| #include "sandbox/win/src/sandbox_policy.h"
|
| #include "sandbox/win/src/sandbox_types.h"
|
|
|
| @@ -57,7 +56,7 @@
|
| // Returns the interface pointer to a new, empty policy object. Use this
|
| // interface to specify the sandbox policy for new processes created by
|
| // SpawnTarget()
|
| - virtual scoped_refptr<TargetPolicy> CreatePolicy() = 0;
|
| + virtual TargetPolicy* CreatePolicy() = 0;
|
|
|
| // Creates a new target (child process) in a suspended state.
|
| // Parameters:
|
| @@ -80,7 +79,7 @@
|
| // ALL_OK if successful. All other return values imply failure.
|
| virtual ResultCode SpawnTarget(const wchar_t* exe_path,
|
| const wchar_t* command_line,
|
| - scoped_refptr<TargetPolicy> policy,
|
| + TargetPolicy* policy,
|
| ResultCode* last_warning,
|
| DWORD* last_error,
|
| PROCESS_INFORMATION* target) = 0;
|
|
|