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

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

Issue 2130753002: Made setting lowbox token a warning. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted change to logging Created 4 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
« no previous file with comments | « sandbox/win/src/target_process.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/tests/common/controller.cc
diff --git a/sandbox/win/tests/common/controller.cc b/sandbox/win/tests/common/controller.cc
index 0bdb033185ab5ccd080c22afed33a667fa950fe9..9f57137c0e7d31844d75addb1590bd7080f6c476 100644
--- a/sandbox/win/tests/common/controller.cc
+++ b/sandbox/win/tests/common/controller.cc
@@ -222,6 +222,8 @@ int TestRunner::InternalRunTest(const wchar_t* command) {
// Launch the sandboxed process.
ResultCode result = SBOX_ALL_OK;
+ ResultCode warning_result = SBOX_ALL_OK;
+ DWORD last_error = ERROR_SUCCESS;
PROCESS_INFORMATION target = {0};
base::string16 arguments(L"\"");
@@ -238,7 +240,7 @@ int TestRunner::InternalRunTest(const wchar_t* command) {
}
} else {
result = broker_->SpawnTarget(prog_name, arguments.c_str(), policy_,
- &target);
+ &warning_result, &last_error, &target);
}
if (SBOX_ALL_OK != result)
« no previous file with comments | « sandbox/win/src/target_process.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698