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

Unified Diff: sandbox/win/tests/common/controller.h

Issue 1626623003: [Win10 sandbox mitigations] Four new Win10 mitigations added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/tests/common/controller.h
diff --git a/sandbox/win/tests/common/controller.h b/sandbox/win/tests/common/controller.h
index a6498ed12e2a796d440ba1f5252d0b246094c67b..a8f83cdc9ab7e81daa8e3f4969c193c7700d6aa9 100644
--- a/sandbox/win/tests/common/controller.h
+++ b/sandbox/win/tests/common/controller.h
@@ -73,6 +73,10 @@ class TestRunner {
TestRunner(JobLevel job_level, TokenLevel startup_token,
TokenLevel main_token);
+ // TODO(pennymac): Once ALPCs are no longer being auto disabled in Init(),
+ // this overload won't be needed.
+ TestRunner(bool enable_create_process);
+
TestRunner();
~TestRunner();
@@ -127,8 +131,10 @@ class TestRunner {
private:
// Initializes the data in the object. Sets is_init_ to tree if the
// function succeeds. This is meant to be called from the constructor.
- void Init(JobLevel job_level, TokenLevel startup_token,
- TokenLevel main_token);
+ void Init(JobLevel job_level,
+ TokenLevel startup_token,
+ TokenLevel main_token,
+ bool enable_create_process);
// The actual runner.
int InternalRunTest(const wchar_t* command);

Powered by Google App Engine
This is Rietveld 408576698