Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(962)

Unified Diff: webkit/plugins/ppapi/plugin_module.cc

Issue 10091003: Convert flash to thunk (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/plugins/ppapi/plugin_module.cc
diff --git a/webkit/plugins/ppapi/plugin_module.cc b/webkit/plugins/ppapi/plugin_module.cc
index 0caf655ad4a34ea3f460cc12c9bf68098ed14157..ff8ecc3439745551a997b01220c496b17b19817d 100644
--- a/webkit/plugins/ppapi/plugin_module.cc
+++ b/webkit/plugins/ppapi/plugin_module.cc
@@ -296,6 +296,7 @@ const void* GetInterface(const char* name) {
#include "ppapi/thunk/interfaces_ppb_public_stable.h"
#include "ppapi/thunk/interfaces_ppb_public_dev.h"
#include "ppapi/thunk/interfaces_ppb_private.h"
+ #include "ppapi/thunk/interfaces_ppb_private_flash.h"
#undef UNPROXIED_API
#undef PROXIED_IFACE
@@ -310,14 +311,6 @@ const void* GetInterface(const char* name) {
return ::ppapi::thunk::GetPPB_BufferTrusted_0_1_Thunk();
if (strcmp(name, PPB_CORE_INTERFACE_1_0) == 0)
return &core_interface;
- if (strcmp(name, PPB_FLASH_INTERFACE_11_0) == 0)
- return PPB_Flash_Impl::GetInterface11();
- if (strcmp(name, PPB_FLASH_INTERFACE_12_0) == 0)
- return PPB_Flash_Impl::GetInterface12_0();
- if (strcmp(name, PPB_FLASH_INTERFACE_12_1) == 0)
- return PPB_Flash_Impl::GetInterface12_1();
- if (strcmp(name, PPB_FLASH_INTERFACE_12_2) == 0)
- return PPB_Flash_Impl::GetInterface12_2();
if (strcmp(name, PPB_FLASH_CLIPBOARD_INTERFACE_4_0) == 0)
return ::ppapi::thunk::GetPPB_Flash_Clipboard_4_0_Thunk();
if (strcmp(name, PPB_FLASH_CLIPBOARD_INTERFACE_3_0) == 0)

Powered by Google App Engine
This is Rietveld 408576698