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

Unified Diff: athena/test/chrome/athena_browsertest.cc

Issue 680743002: Using switch to disable sandbox from contentswitches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « athena/test/chrome/athena_app_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/chrome/athena_browsertest.cc
diff --git a/athena/test/chrome/athena_browsertest.cc b/athena/test/chrome/athena_browsertest.cc
index 25ced8818de4386bf1624ff90f4c8f6bf676b470..c9e8965e7a872ce02b80fd879ce38990f5b5089b 100644
--- a/athena/test/chrome/athena_browsertest.cc
+++ b/athena/test/chrome/athena_browsertest.cc
@@ -6,13 +6,10 @@
#include "athena/test/chrome/test_util.h"
#include "base/command_line.h"
+#include "content/public/common/content_switches.h"
namespace athena {
-namespace {
-const char kNoNaclSandbox[] = "--no-sandbox";
-}
-
AthenaBrowserTest::AthenaBrowserTest() {
}
@@ -21,7 +18,7 @@ AthenaBrowserTest::~AthenaBrowserTest() {
void AthenaBrowserTest::SetUpCommandLine(base::CommandLine* command_line) {
// The NaCl sandbox won't work in our browser tests.
- command_line->AppendSwitch(kNoNaclSandbox);
+ command_line->AppendSwitch(switches::kNoSandbox);
InProcessBrowserTest::SetUpCommandLine(command_line);
}
« no previous file with comments | « athena/test/chrome/athena_app_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698