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

Unified Diff: chrome/test/nacl/nacl_browsertest_util.cc

Issue 249183004: Implement open_resource in non-SFI mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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: chrome/test/nacl/nacl_browsertest_util.cc
diff --git a/chrome/test/nacl/nacl_browsertest_util.cc b/chrome/test/nacl/nacl_browsertest_util.cc
index 97058b8315480f74db151eb5b42e714838920557..c2a976dd8a4164f56b2555fcfc3e407a1721d642 100644
--- a/chrome/test/nacl/nacl_browsertest_util.cc
+++ b/chrome/test/nacl/nacl_browsertest_util.cc
@@ -330,6 +330,16 @@ void NaClBrowserTestNonSfiMode::SetUpCommandLine(
command_line->AppendSwitch(switches::kEnableNaClNonSfiMode);
}
+base::FilePath::StringType NaClBrowserTestPnaclNonSfi::Variant() {
Mark Seaborn 2014/04/30 21:20:58 Please rebase: similar code was added in Junichi's
hidehiko 2014/05/01 05:20:31 Rebased.
+ return FILE_PATH_LITERAL("nonsfi");
+}
+
+void NaClBrowserTestPnaclNonSfi::SetUpCommandLine(
+ base::CommandLine* command_line) {
+ NaClBrowserTestBase::SetUpCommandLine(command_line);
+ command_line->AppendSwitch(switches::kEnableNaClNonSfiMode);
+}
+
base::FilePath::StringType NaClBrowserTestStatic::Variant() {
return FILE_PATH_LITERAL("static");
}

Powered by Google App Engine
This is Rietveld 408576698