diff options
author | sanga@chromium.org <sanga@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-17 20:22:43 +0000 |
---|---|---|
committer | sanga@chromium.org <sanga@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-17 20:22:43 +0000 |
commit | 3321bff82992dd32658142f83dee30396a4a5e4c (patch) | |
tree | 48699802def901c0089b1ce3095a8e35f2199773 /webkit | |
parent | 54b204338aa752b80b1d9f7728eed9cd7ab45ea2 (diff) | |
download | chromium_src-3321bff82992dd32658142f83dee30396a4a5e4c.zip chromium_src-3321bff82992dd32658142f83dee30396a4a5e4c.tar.gz chromium_src-3321bff82992dd32658142f83dee30396a4a5e4c.tar.bz2 |
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
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/plugins/ppapi/plugin_module.cc | 17 |
1 files changed, 0 insertions, 17 deletions
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. |