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

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

Issue 2950153002: Improve process launch handle sharing API. (Closed)
Patch Set: Fix Created 3 years, 6 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 5fc3f50c1455b6d6d3b13b83142b2a19b794c2d6..ac0e24638b017cfe63acac27db3de975ad13e282 100644
--- a/sandbox/win/src/sandbox_policy_base.h
+++ b/sandbox/win/src/sandbox_policy_base.h
@@ -101,7 +101,7 @@ class PolicyBase final : public TargetPolicy {
HANDLE GetStderrHandle();
// Returns the list of handles being shared with the target process.
- const base::HandlesToInheritVector& GetHandlesBeingShared();
+ const std::vector<HANDLE>& GetHandlesBeingShared();
private:
~PolicyBase();
@@ -165,7 +165,7 @@ class PolicyBase final : public TargetPolicy {
// Contains the list of handles being shared with the target process.
// This list contains handles other than the stderr/stdout handles which are
// shared with the target at times.
- base::HandlesToInheritVector handles_to_share_;
+ std::vector<HANDLE> handles_to_share_;
bool enable_opm_redirection_;
DISALLOW_COPY_AND_ASSIGN(PolicyBase);

Powered by Google App Engine
This is Rietveld 408576698