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

Unified Diff: athena/test/chrome/athena_app_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 | « no previous file | athena/test/chrome/athena_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/chrome/athena_app_browsertest.cc
diff --git a/athena/test/chrome/athena_app_browsertest.cc b/athena/test/chrome/athena_app_browsertest.cc
index 93ed1d9469df8d5291ecae9aeb33b80be78c6ab5..5b2ddeb85de503514e32772bc3d5fa9126587c23 100644
--- a/athena/test/chrome/athena_app_browsertest.cc
+++ b/athena/test/chrome/athena_app_browsertest.cc
@@ -8,14 +8,11 @@
#include "athena/test/base/activity_lifetime_tracker.h"
#include "athena/test/chrome/test_util.h"
#include "content/public/browser/notification_service.h"
+#include "content/public/common/content_switches.h"
#include "content/public/test/test_utils.h"
namespace athena {
-namespace {
-const char kNoNaclSandbox[] = "--no-sandbox";
-}
-
AthenaAppBrowserTest::AthenaAppBrowserTest() {
}
@@ -24,7 +21,7 @@ AthenaAppBrowserTest::~AthenaAppBrowserTest() {
void AthenaAppBrowserTest::SetUpCommandLine(base::CommandLine* command_line) {
// The NaCl sandbox won't work in our browser tests.
- command_line->AppendSwitch(kNoNaclSandbox);
+ command_line->AppendSwitch(switches::kNoSandbox);
extensions::PlatformAppBrowserTest::SetUpCommandLine(command_line);
}
« no previous file with comments | « no previous file | athena/test/chrome/athena_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698