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

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

Issue 263683002: Set file tokens for NaCl main nexe if available to enable validation caching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clear tokens too Created 6 years, 7 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.cc
diff --git a/chrome/test/nacl/nacl_browsertest.cc b/chrome/test/nacl/nacl_browsertest.cc
index b9d11b50143b8013b1d7fc8feb493cb6698e4b62..afc4862625a5ec1a4cc9443f15e90a8e4eb1123b 100644
--- a/chrome/test/nacl/nacl_browsertest.cc
+++ b/chrome/test/nacl/nacl_browsertest.cc
@@ -438,22 +438,6 @@ IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlibStderrPM, RedirectBg1) {
"pm_redir_test.html?stream=stderr&thread=bg&delay_us=1000000"));
}
-class NaClBrowserTestNewlibExtension : public NaClBrowserTestNewlib {
- public:
- virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
- NaClBrowserTestNewlib::SetUpCommandLine(command_line);
- base::FilePath src_root;
- ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &src_root));
-
- base::FilePath document_root;
- ASSERT_TRUE(GetDocumentRoot(&document_root));
-
- // Document root is relative to source root, and source root may not be CWD.
- command_line->AppendSwitchPath(switches::kLoadExtension,
- src_root.Append(document_root));
- }
-};
-
// TODO(ncbray) support glibc and PNaCl
IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlibExtension, MimeHandler) {
RunNaClIntegrationTest(FILE_PATH_LITERAL(

Powered by Google App Engine
This is Rietveld 408576698