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

Unified Diff: apps/load_and_launch_browsertest.cc

Issue 197213015: [Linux] Use PR_SET_NO_NEW_PRIVS by default in base/process/launch.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add function Created 6 years, 9 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 | « no previous file | base/process/launch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/load_and_launch_browsertest.cc
diff --git a/apps/load_and_launch_browsertest.cc b/apps/load_and_launch_browsertest.cc
index fecfe844f1465afcf4d45a653e069875495da995..04714151ae033aed3da92dacab45d5e00c5a7bdc 100644
--- a/apps/load_and_launch_browsertest.cc
+++ b/apps/load_and_launch_browsertest.cc
@@ -51,7 +51,7 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
new_cmdline.AppendSwitch(content::kLaunchAsBrowser);
base::ProcessHandle process;
- base::LaunchProcess(new_cmdline, base::LaunchOptions(), &process);
+ base::LaunchProcess(new_cmdline, base::LaunchOptionsForTest(), &process);
ASSERT_NE(base::kNullProcessHandle, process);
ASSERT_TRUE(launched_listener.WaitUntilSatisfied());
@@ -94,7 +94,7 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
new_cmdline.AppendArgPath(test_file_path);
base::ProcessHandle process;
- base::LaunchProcess(new_cmdline, base::LaunchOptions(), &process);
+ base::LaunchProcess(new_cmdline, base::LaunchOptionsForTest(), &process);
ASSERT_NE(base::kNullProcessHandle, process);
ASSERT_TRUE(launched_listener.WaitUntilSatisfied());
« no previous file with comments | « no previous file | base/process/launch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698