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

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: Rebase 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 8843aa984344197f1f0362ebd7689697139441a8..c2a976dd8a4164f56b2555fcfc3e407a1721d642 100644
--- a/chrome/test/nacl/nacl_browsertest_util.cc
+++ b/chrome/test/nacl/nacl_browsertest_util.cc
@@ -330,15 +330,6 @@ void NaClBrowserTestNonSfiMode::SetUpCommandLine(
command_line->AppendSwitch(switches::kEnableNaClNonSfiMode);
}
-base::FilePath::StringType NaClBrowserTestStatic::Variant() {
- return FILE_PATH_LITERAL("static");
-}
-
-bool NaClBrowserTestStatic::GetDocumentRoot(base::FilePath* document_root) {
- *document_root = base::FilePath(FILE_PATH_LITERAL("chrome/test/data/nacl"));
- return true;
-}
-
base::FilePath::StringType NaClBrowserTestPnaclNonSfi::Variant() {
return FILE_PATH_LITERAL("nonsfi");
}
@@ -348,3 +339,12 @@ void NaClBrowserTestPnaclNonSfi::SetUpCommandLine(
NaClBrowserTestBase::SetUpCommandLine(command_line);
command_line->AppendSwitch(switches::kEnableNaClNonSfiMode);
}
+
+base::FilePath::StringType NaClBrowserTestStatic::Variant() {
Mark Seaborn 2014/05/01 23:28:33 No need to move these definitions.
hidehiko 2014/05/02 01:32:27 Done.
+ return FILE_PATH_LITERAL("static");
+}
+
+bool NaClBrowserTestStatic::GetDocumentRoot(base::FilePath* document_root) {
+ *document_root = base::FilePath(FILE_PATH_LITERAL("chrome/test/data/nacl"));
+ return true;
+}

Powered by Google App Engine
This is Rietveld 408576698