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

Side by Side Diff: chrome/test/nacl/nacl_browsertest_util.cc

Issue 230413002: NonSFI NaCl: Plumb Exception IRT enough for breakpad. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove whitespace 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/test/nacl/nacl_browsertest_util.h" 5 #include "chrome/test/nacl/nacl_browsertest_util.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/json/json_reader.h" 9 #include "base/json/json_reader.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 } 331 }
332 332
333 base::FilePath::StringType NaClBrowserTestStatic::Variant() { 333 base::FilePath::StringType NaClBrowserTestStatic::Variant() {
334 return FILE_PATH_LITERAL("static"); 334 return FILE_PATH_LITERAL("static");
335 } 335 }
336 336
337 bool NaClBrowserTestStatic::GetDocumentRoot(base::FilePath* document_root) { 337 bool NaClBrowserTestStatic::GetDocumentRoot(base::FilePath* document_root) {
338 *document_root = base::FilePath(FILE_PATH_LITERAL("chrome/test/data/nacl")); 338 *document_root = base::FilePath(FILE_PATH_LITERAL("chrome/test/data/nacl"));
339 return true; 339 return true;
340 } 340 }
341
342 base::FilePath::StringType NaClBrowserTestPnaclNonSfi::Variant() {
343 return FILE_PATH_LITERAL("nonsfi");
344 }
345
346 void NaClBrowserTestPnaclNonSfi::SetUpCommandLine(
347 base::CommandLine* command_line) {
348 NaClBrowserTestBase::SetUpCommandLine(command_line);
349 command_line->AppendSwitch(switches::kEnableNaClNonSfiMode);
350 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698