| Index: chrome/browser/extensions/plugin_apitest.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/plugin_apitest.cc (revision 174946)
|
| +++ chrome/browser/extensions/plugin_apitest.cc (working copy)
|
| @@ -48,7 +48,7 @@
|
| // With no extensions, the plugin should not be loaded.
|
| bool result = false;
|
| ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool(
|
| - tab->GetRenderViewHost(), "", "testPluginWorks()", &result));
|
| + tab->GetRenderViewHost(), L"", L"testPluginWorks()", &result));
|
| EXPECT_FALSE(result);
|
|
|
| ExtensionService* service = extensions::ExtensionSystem::Get(
|
| @@ -60,7 +60,7 @@
|
| EXPECT_EQ(size_before + 1, service->extensions()->size());
|
| // Now the plugin should be in the cache.
|
| ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool(
|
| - tab->GetRenderViewHost(), "", "testPluginWorks()", &result));
|
| + tab->GetRenderViewHost(), L"", L"testPluginWorks()", &result));
|
| // We don't allow extension plugins to run on ChromeOS.
|
| #if defined(OS_CHROMEOS)
|
| EXPECT_FALSE(result);
|
| @@ -75,7 +75,7 @@
|
| // Now the plugin should be unloaded, and the page should be broken.
|
|
|
| ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool(
|
| - tab->GetRenderViewHost(), "", "testPluginWorks()", &result));
|
| + tab->GetRenderViewHost(), L"", L"testPluginWorks()", &result));
|
| EXPECT_FALSE(result);
|
|
|
| // If we reload the extension and page, it should work again.
|
| @@ -91,7 +91,7 @@
|
| observer.Wait();
|
| }
|
| ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool(
|
| - tab->GetRenderViewHost(), "", "testPluginWorks()", &result));
|
| + tab->GetRenderViewHost(), L"", L"testPluginWorks()", &result));
|
| // We don't allow extension plugins to run on ChromeOS.
|
| #if defined(OS_CHROMEOS)
|
| EXPECT_FALSE(result);
|
| @@ -125,7 +125,7 @@
|
| WebContents* tab = chrome::GetActiveWebContents(browser());
|
| bool result = false;
|
| ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool(
|
| - tab->GetRenderViewHost(), "", "testPluginWorks()", &result));
|
| + tab->GetRenderViewHost(), L"", L"testPluginWorks()", &result));
|
| // We don't allow extension plugins to run on ChromeOS.
|
| #if defined(OS_CHROMEOS)
|
| EXPECT_FALSE(result);
|
| @@ -142,7 +142,7 @@
|
| browser()->profile()->GetHostContentSettingsMap()->SetDefaultContentSetting(
|
| CONTENT_SETTINGS_TYPE_PLUGINS, CONTENT_SETTING_BLOCK);
|
| ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool(
|
| - tab->GetRenderViewHost(), "", "testPluginWorks()", &result));
|
| + tab->GetRenderViewHost(), L"", L"testPluginWorks()", &result));
|
| // We don't allow extension plugins to run on ChromeOS.
|
| #if defined(OS_CHROMEOS)
|
| EXPECT_FALSE(result);
|
| @@ -154,6 +154,6 @@
|
| ui_test_utils::NavigateToURL(browser(),
|
| net::FilePathToFileURL(extension_dir.AppendASCII("test.html")));
|
| ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool(
|
| - tab->GetRenderViewHost(), "", "testPluginWorks()", &result));
|
| + tab->GetRenderViewHost(), L"", L"testPluginWorks()", &result));
|
| EXPECT_FALSE(result);
|
| }
|
|
|