From 3321bff82992dd32658142f83dee30396a4a5e4c Mon Sep 17 00:00:00 2001 From: "sanga@chromium.org" Date: Sun, 17 Jul 2011 20:22:43 +0000 Subject: Removing support dev file interfaces. BUG= none TEST= build chrome. Review URL: http://codereview.chromium.org/7395011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92821 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/plugins/ppapi/plugin_module.cc | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'webkit') diff --git a/webkit/plugins/ppapi/plugin_module.cc b/webkit/plugins/ppapi/plugin_module.cc index 692ee5a..dd4d663 100644 --- a/webkit/plugins/ppapi/plugin_module.cc +++ b/webkit/plugins/ppapi/plugin_module.cc @@ -395,23 +395,6 @@ const void* GetInterface(const char* name) { if (strcmp(name, PPB_VAR_INTERFACE_0_5) == 0) return Var::GetInterface(); - // Support the dev interfaces for file io, fileref and file system - // until relevant tests and examples are migrated over to non-dev interfaces - // in order to prevent breaking the tests and examples. - // TODO(sanga): Remove support for these dev interfaces once the relevant - // tests and examples are migrated to non-dev interfaces. - const bool support_dev_file_interfaces = true; - if (support_dev_file_interfaces) { - if (strcmp(name, "PPB_FileIO(Dev);0.4") == 0) - return ::ppapi::thunk::GetPPB_FileIO_Thunk(); - if (strcmp(name, "PPB_FileIOTrusted(Dev);0.3") == 0) - return ::ppapi::thunk::GetPPB_FileIOTrusted_Thunk(); - if (strcmp(name, "PPB_FileRef(Dev);0.8") == 0) - return ::ppapi::thunk::GetPPB_FileRef_Thunk(); - if (strcmp(name, "PPB_FileSystem(Dev);0.6") == 0) - return ::ppapi::thunk::GetPPB_FileSystem_Thunk(); - } - // 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. -- cgit v1.1