Index: chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc |
=================================================================== |
--- chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc (revision 129385) |
+++ chrome/browser/renderer_host/plugin_info_message_filter_unittest.cc (working copy) |
@@ -120,7 +120,7 @@ |
ChromeViewHostMsg_GetPluginInfo_Status status; |
webkit::WebPluginInfo plugin; |
std::string actual_mime_type; |
- EXPECT_FALSE(context_.FindEnabledPlugin( |
+ EXPECT_TRUE(context_.FindEnabledPlugin( |
0, GURL(), GURL(), "foo/bar", &status, &plugin, &actual_mime_type)); |
EXPECT_EQ(ChromeViewHostMsg_GetPluginInfo_Status::kAllowed, status.value); |
EXPECT_EQ(foo_plugin_path_.value(), plugin.path.value()); |
@@ -131,7 +131,7 @@ |
ChromeViewHostMsg_GetPluginInfo_Status status; |
webkit::WebPluginInfo plugin; |
std::string actual_mime_type; |
- EXPECT_FALSE(context_.FindEnabledPlugin( |
+ EXPECT_TRUE(context_.FindEnabledPlugin( |
0, GURL(), GURL(), "foo/bar", &status, &plugin, &actual_mime_type)); |
EXPECT_EQ(ChromeViewHostMsg_GetPluginInfo_Status::kAllowed, status.value); |
EXPECT_EQ(bar_plugin_path_.value(), plugin.path.value()); |
@@ -142,7 +142,7 @@ |
ChromeViewHostMsg_GetPluginInfo_Status status; |
webkit::WebPluginInfo plugin; |
std::string actual_mime_type; |
- EXPECT_TRUE(context_.FindEnabledPlugin( |
+ EXPECT_FALSE(context_.FindEnabledPlugin( |
0, GURL(), GURL(), "foo/bar", &status, &plugin, &actual_mime_type)); |
EXPECT_EQ(ChromeViewHostMsg_GetPluginInfo_Status::kDisabled, status.value); |
EXPECT_EQ(foo_plugin_path_.value(), plugin.path.value()); |
@@ -151,7 +151,7 @@ |
ChromeViewHostMsg_GetPluginInfo_Status status; |
webkit::WebPluginInfo plugin; |
std::string actual_mime_type; |
- EXPECT_TRUE(context_.FindEnabledPlugin( |
+ EXPECT_FALSE(context_.FindEnabledPlugin( |
0, GURL(), GURL(), "baz/blurp", &status, &plugin, &actual_mime_type)); |
EXPECT_EQ(ChromeViewHostMsg_GetPluginInfo_Status::kNotFound, status.value); |
EXPECT_EQ(FILE_PATH_LITERAL(""), plugin.path.value()); |