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

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

Issue 677233002: Fixing trybot failure (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
Index: athena/test/chrome/athena_browsertest.cc
diff --git a/athena/test/chrome/athena_browsertest.cc b/athena/test/chrome/athena_browsertest.cc
index 72841b2b59f9d6373ca3bde666483932c51d6617..25ced8818de4386bf1624ff90f4c8f6bf676b470 100644
--- a/athena/test/chrome/athena_browsertest.cc
+++ b/athena/test/chrome/athena_browsertest.cc
@@ -5,15 +5,26 @@
#include "athena/test/chrome/athena_browsertest.h"
#include "athena/test/chrome/test_util.h"
+#include "base/command_line.h"
namespace athena {
+namespace {
+const char kNoNaclSandbox[] = "--no-sandbox";
+}
+
AthenaBrowserTest::AthenaBrowserTest() {
}
AthenaBrowserTest::~AthenaBrowserTest() {
}
+void AthenaBrowserTest::SetUpCommandLine(base::CommandLine* command_line) {
+ // The NaCl sandbox won't work in our browser tests.
+ command_line->AppendSwitch(kNoNaclSandbox);
+ InProcessBrowserTest::SetUpCommandLine(command_line);
+}
+
void AthenaBrowserTest::SetUpOnMainThread() {
// Set the memory pressure to low and turning off undeterministic resource
// observer events.
« athena/test/chrome/athena_app_browsertest.cc ('K') | « athena/test/chrome/athena_browsertest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698