Index: chrome/browser/plugin_service_browsertest.cc |
=================================================================== |
--- chrome/browser/plugin_service_browsertest.cc (revision 69765) |
+++ chrome/browser/plugin_service_browsertest.cc (working copy) |
@@ -11,7 +11,7 @@ |
#include "chrome/test/testing_profile.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "testing/gmock/include/gmock/gmock.h" |
-#include "webkit/plugins/npapi/plugin_list.h" |
+#include "webkit/glue/plugins/plugin_list.h" |
namespace { |
@@ -26,7 +26,7 @@ |
MOCK_METHOD0(ID, int()); |
MOCK_METHOD0(OffTheRecord, bool()); |
- MOCK_METHOD1(SetPluginInfo, void(const webkit::npapi::WebPluginInfo& info)); |
+ MOCK_METHOD1(SetPluginInfo, void(const WebPluginInfo& info)); |
MOCK_METHOD1(OnChannelOpened, void(const IPC::ChannelHandle& handle)); |
MOCK_METHOD0(OnError, void()); |
@@ -73,10 +73,10 @@ |
// calls to FindPluginProcess should return non-zero values. |
PluginProcessHost* default_plugin_process_host = |
plugin_service_->FindOrStartPluginProcess( |
- FilePath(webkit::npapi::kDefaultPluginLibraryName)); |
+ FilePath(kDefaultPluginLibraryName)); |
- EXPECT_EQ(default_plugin_process_host, plugin_service_->FindPluginProcess( |
- FilePath(webkit::npapi::kDefaultPluginLibraryName))); |
+ EXPECT_EQ(default_plugin_process_host, |
+ plugin_service_->FindPluginProcess(FilePath(kDefaultPluginLibraryName))); |
} |
IN_PROC_BROWSER_TEST_F(PluginServiceTest, OpenChannelToPlugin) { |
@@ -95,7 +95,7 @@ |
// We should always get a positive response no matter whether we really have |
// a plugin to support that particular mime type because the Default plugin |
// supports all mime types. |
- webkit::npapi::WebPluginInfo plugin_info; |
+ WebPluginInfo plugin_info; |
std::string plugin_mime_type; |
plugin_service_->GetFirstAllowedPluginInfo(GURL("http://google.com/"), |
"application/pdf", |