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

Unified Diff: content/renderer/browser_plugin/browser_plugin_browsertest.cc

Issue 11052019: <browser> Make new implementation the default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove flag from chrome://flags, add platform app check for both implementation. Created 8 years, 2 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
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/browser_plugin/browser_plugin_browsertest.cc
diff --git a/content/renderer/browser_plugin/browser_plugin_browsertest.cc b/content/renderer/browser_plugin/browser_plugin_browsertest.cc
index 47a74868713fbd44a6ac010e7faeb76758d65dba..de3be14c0f2f2e5efd0c2753ce41bb26aed1efdc 100644
--- a/content/renderer/browser_plugin/browser_plugin_browsertest.cc
+++ b/content/renderer/browser_plugin/browser_plugin_browsertest.cc
@@ -38,7 +38,7 @@ const char kHTMLForPartitionedPersistedPluginObject[] =
std::string GetHTMLForBrowserPluginObject() {
return StringPrintf(kHTMLForBrowserPluginObject,
- content::kBrowserPluginNewMimeType);
+ content::kBrowserPluginMimeType);
}
} // namespace
@@ -379,14 +379,14 @@ TEST_F(BrowserPluginTest, ReloadMethod) {
// correctly.
TEST_F(BrowserPluginTest, PartitionAttribute) {
std::string html = StringPrintf(kHTMLForPartitionedPluginObject,
- content::kBrowserPluginNewMimeType);
+ content::kBrowserPluginMimeType);
LoadHTML(html.c_str());
std::string partition_value = ExecuteScriptAndReturnString(
"document.getElementById('browserplugin').partition");
EXPECT_STREQ("someid", partition_value.c_str());
html = StringPrintf(kHTMLForPartitionedPersistedPluginObject,
- content::kBrowserPluginNewMimeType);
+ content::kBrowserPluginMimeType);
LoadHTML(html.c_str());
partition_value = ExecuteScriptAndReturnString(
"document.getElementById('browserplugin').partition");
@@ -406,7 +406,7 @@ TEST_F(BrowserPluginTest, PartitionAttribute) {
// Load a browser tag without 'src' defined.
html = StringPrintf(kHTMLForSourcelessPluginObject,
- content::kBrowserPluginNewMimeType);
+ content::kBrowserPluginMimeType);
LoadHTML(html.c_str());
// Ensure we don't parse just "persist:" string and return exception.
@@ -423,7 +423,7 @@ TEST_F(BrowserPluginTest, PartitionAttribute) {
// cannot be modified.
TEST_F(BrowserPluginTest, ImmutableAttributesAfterNavigation) {
std::string html = StringPrintf(kHTMLForSourcelessPluginObject,
- content::kBrowserPluginNewMimeType);
+ content::kBrowserPluginMimeType);
LoadHTML(html.c_str());
ExecuteJavaScript(
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698