| 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 9c1d57d8ac736a083dc52059cbb46575787a8b53..f3ebefec7075c7e5a8c98131604fc285065ff5d1 100644
|
| --- a/chrome/test/nacl/nacl_browsertest_util.cc
|
| +++ b/chrome/test/nacl/nacl_browsertest_util.cc
|
| @@ -188,15 +188,6 @@ static void AddPnaclParm(const base::FilePath::StringType& url,
|
| }
|
| }
|
|
|
| -static void AddPnaclDisabledParm(const base::FilePath::StringType& url,
|
| - base::FilePath::StringType* url_with_parm) {
|
| - if (url.find(FILE_PATH_LITERAL("?")) == base::FilePath::StringType::npos) {
|
| - *url_with_parm = url + FILE_PATH_LITERAL("?pnacl_disabled=1");
|
| - } else {
|
| - *url_with_parm = url + FILE_PATH_LITERAL("&pnacl_disabled=1");
|
| - }
|
| -}
|
| -
|
| NaClBrowserTestBase::NaClBrowserTestBase() {
|
| }
|
|
|
| @@ -224,10 +215,6 @@ bool NaClBrowserTestBase::IsAPnaclTest() {
|
| return false;
|
| }
|
|
|
| -bool NaClBrowserTestBase::IsPnaclDisabled() {
|
| - return false;
|
| -}
|
| -
|
| GURL NaClBrowserTestBase::TestURL(
|
| const base::FilePath::StringType& url_fragment) {
|
| base::FilePath expanded_url = base::FilePath(FILE_PATH_LITERAL("files"));
|
| @@ -253,9 +240,6 @@ void NaClBrowserTestBase::RunLoadTest(
|
| AddPnaclParm(test_file, &test_file_with_pnacl);
|
| }
|
| base::FilePath::StringType test_file_with_both = test_file_with_pnacl;
|
| - if (IsPnaclDisabled()) {
|
| - AddPnaclDisabledParm(test_file_with_pnacl, &test_file_with_both);
|
| - }
|
| bool ok = RunJavascriptTest(TestURL(test_file_with_both), &handler);
|
| ASSERT_TRUE(ok) << handler.error_message();
|
| ASSERT_TRUE(handler.test_passed()) << "Test failed.";
|
| @@ -269,9 +253,6 @@ void NaClBrowserTestBase::RunNaClIntegrationTest(
|
| AddPnaclParm(url_fragment, &url_fragment_with_pnacl);
|
| }
|
| base::FilePath::StringType url_fragment_with_both = url_fragment_with_pnacl;
|
| - if (IsPnaclDisabled()) {
|
| - AddPnaclDisabledParm(url_fragment_with_pnacl, &url_fragment_with_both);
|
| - }
|
| bool ok = RunJavascriptTest(full_url
|
| ? GURL(url_fragment_with_both)
|
| : TestURL(url_fragment_with_both),
|
| @@ -308,23 +289,6 @@ bool NaClBrowserTestPnacl::IsAPnaclTest() {
|
| return true;
|
| }
|
|
|
| -base::FilePath::StringType NaClBrowserTestPnaclDisabled::Variant() {
|
| - return FILE_PATH_LITERAL("pnacl");
|
| -}
|
| -
|
| -bool NaClBrowserTestPnaclDisabled::IsAPnaclTest() {
|
| - return true;
|
| -}
|
| -
|
| -bool NaClBrowserTestPnaclDisabled::IsPnaclDisabled() {
|
| - return true;
|
| -}
|
| -void NaClBrowserTestPnaclDisabled::SetUpCommandLine(
|
| - base::CommandLine* command_line) {
|
| - NaClBrowserTestBase::SetUpCommandLine(command_line);
|
| - command_line->AppendSwitch(switches::kDisablePnacl);
|
| -}
|
| -
|
| base::FilePath::StringType NaClBrowserTestNonSfiMode::Variant() {
|
| return FILE_PATH_LITERAL("libc-free");
|
| }
|
|
|