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

Unified Diff: sandbox/win/src/sandbox_policy_base.h

Issue 1227163008: Sandbox: Make PolicyBase::MakeTokens return ScopedHandes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/win/src/sandbox_policy_base.h
diff --git a/sandbox/win/src/sandbox_policy_base.h b/sandbox/win/src/sandbox_policy_base.h
index 1de5cf8c368cd42ca13df69efe479fdbabc5c405..dd9d9aa3d11ad74ade424549defea65f8f129e80 100644
--- a/sandbox/win/src/sandbox_policy_base.h
+++ b/sandbox/win/src/sandbox_policy_base.h
@@ -83,7 +83,8 @@ class PolicyBase : public Dispatcher, public TargetPolicy {
// Creates the two tokens with the levels specified in a previous call to
// SetTokenLevel().
- ResultCode MakeTokens(HANDLE* initial, HANDLE* lockdown);
+ ResultCode MakeTokens(base::win::ScopedHandle* initial,
+ base::win::ScopedHandle* lockdown);
const AppContainerAttributes* GetAppContainer() const;

Powered by Google App Engine
This is Rietveld 408576698