summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authordmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-21 18:39:49 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-21 18:39:49 +0000
commite25c33d1747f42be8171ff38d06fe9d797d46af0 (patch)
tree84fef45f718108de9e4d069c0dd54b448154aa16 /webkit
parent90c9d6ae4a6b7b2c2b0461da711b95da3271fa34 (diff)
downloadchromium_src-e25c33d1747f42be8171ff38d06fe9d797d46af0.zip
chromium_src-e25c33d1747f42be8171ff38d06fe9d797d46af0.tar.gz
chromium_src-e25c33d1747f42be8171ff38d06fe9d797d46af0.tar.bz2
Delete some now-unnecessary backwards compatibility.
PPP_Instance needs to stay until NaCl gets 1.0 in a DEPS roll. BUG=84519 TEST=ppapi tests Review URL: http://codereview.chromium.org/7471014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93447 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/plugins/ppapi/plugin_module.cc30
-rw-r--r--webkit/plugins/ppapi/ppapi_plugin_instance.cc7
2 files changed, 0 insertions, 37 deletions
diff --git a/webkit/plugins/ppapi/plugin_module.cc b/webkit/plugins/ppapi/plugin_module.cc
index e0190c8..62d69cc 100644
--- a/webkit/plugins/ppapi/plugin_module.cc
+++ b/webkit/plugins/ppapi/plugin_module.cc
@@ -366,36 +366,6 @@ const void* GetInterface(const char* name) {
return ::ppapi::thunk::GetPPB_Transport_Thunk();
#endif
- // Support pre-1.0 version strings of stable interfaces until the changes
- // have rippled through the system (especially NaCl tree).
- // TODO(dmichael): Remove this.
- if (strcmp(name, PPB_AUDIO_CONFIG_INTERFACE_0_5) == 0)
- return ::ppapi::thunk::GetPPB_AudioConfig_Thunk();
- if (strcmp(name, PPB_AUDIO_INTERFACE_0_6) == 0)
- return ::ppapi::thunk::GetPPB_Audio_Thunk();
- if (strcmp(name, PPB_FILEIO_INTERFACE_0_5) == 0)
- return ::ppapi::thunk::GetPPB_FileIO_Thunk();
- if (strcmp(name, PPB_FILEREF_INTERFACE_0_9) == 0)
- return ::ppapi::thunk::GetPPB_FileRef_Thunk();
- if (strcmp(name, PPB_FILESYSTEM_INTERFACE_0_7) == 0)
- return ::ppapi::thunk::GetPPB_FileSystem_Thunk();
- if (strcmp(name, PPB_GRAPHICS_2D_INTERFACE_0_4) == 0)
- return ::ppapi::thunk::GetPPB_Graphics2D_Thunk();
- if (strcmp(name, PPB_IMAGEDATA_INTERFACE_0_3) == 0)
- return ::ppapi::thunk::GetPPB_ImageData_Thunk();
- if (strcmp(name, PPB_INSTANCE_INTERFACE_0_5) == 0)
- return ::ppapi::thunk::GetPPB_Instance_1_0_Thunk();
- if (strcmp(name, PPB_MESSAGING_INTERFACE_0_1) == 0)
- return ::ppapi::thunk::GetPPB_Messaging_Thunk();
- if (strcmp(name, PPB_URLLOADER_INTERFACE_0_2) == 0)
- return ::ppapi::thunk::GetPPB_URLLoader_Thunk();
- if (strcmp(name, PPB_URLREQUESTINFO_INTERFACE_0_2) == 0)
- return ::ppapi::thunk::GetPPB_URLRequestInfo_Thunk();
- if (strcmp(name, PPB_URLRESPONSEINFO_INTERFACE_0_1) == 0)
- return ::ppapi::thunk::GetPPB_URLResponseInfo_Thunk();
- if (strcmp(name, PPB_VAR_INTERFACE_0_5) == 0)
- return Var::GetInterface();
-
// Only support the testing interface when the command line switch is
// specified. This allows us to prevent people from (ab)using this interface
// in production code.
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
index 8bc4e62..ecc7125 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
@@ -712,14 +712,7 @@ bool PluginInstance::LoadMessagingInterface() {
plugin_messaging_interface_ =
static_cast<const PPP_Messaging*>(module_->GetPluginInterface(
PPP_MESSAGING_INTERFACE_1_0));
- // TODO(dmichael): Remove support for 0.1.
- if (!plugin_messaging_interface_) {
- plugin_messaging_interface_ =
- static_cast<const PPP_Messaging*>(module_->GetPluginInterface(
- PPP_MESSAGING_INTERFACE_0_1));
- }
}
-
return !!plugin_messaging_interface_;
}