Chromium Code Reviews| Index: webkit/plugins/ppapi/plugin_module.cc |
| diff --git a/webkit/plugins/ppapi/plugin_module.cc b/webkit/plugins/ppapi/plugin_module.cc |
| index 7fc683e1f764f6e71f6d0d8a3372183739b1d684..fcc5bdd609f53762f25dbe8bf28456a3a1eb5262 100644 |
| --- a/webkit/plugins/ppapi/plugin_module.cc |
| +++ b/webkit/plugins/ppapi/plugin_module.cc |
| @@ -291,8 +291,12 @@ const void* GetInterface(const char* name) { |
| return PPB_Proxy_Impl::GetInterface(); |
| if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE) == 0) |
| return PPB_Scrollbar_Impl::GetInterface(); |
| + |
| +#if defined(ENABLE_P2P_APIS) |
|
brettw
2011/04/20 15:41:33
Please put this at the bottom as well with the oth
|
| if (strcmp(name, PPB_TRANSPORT_DEV_INTERFACE) == 0) |
| return PPB_Transport_Impl::GetInterface(); |
| +#endif |
| + |
| if (strcmp(name, PPB_URLLOADER_INTERFACE) == 0) |
| return PPB_URLLoader_Impl::GetInterface(); |
| if (strcmp(name, PPB_URLLOADERTRUSTED_INTERFACE) == 0) |