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

Unified Diff: ppapi/proxy/ppb_flash_menu_proxy.cc

Issue 8359010: Convert the Flash interfaces to no longer use GetInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comment Created 9 years, 2 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
« no previous file with comments | « ppapi/proxy/ppb_flash_menu_proxy.h ('k') | ppapi/proxy/ppb_flash_net_connector_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_flash_menu_proxy.cc
diff --git a/ppapi/proxy/ppb_flash_menu_proxy.cc b/ppapi/proxy/ppb_flash_menu_proxy.cc
index 7ef79c55b03fc446abac3e9379053f7a704d28e6..31681e785cee2d14191ce49f073e2c4971e5e8af 100644
--- a/ppapi/proxy/ppb_flash_menu_proxy.cc
+++ b/ppapi/proxy/ppb_flash_menu_proxy.cc
@@ -11,7 +11,6 @@
#include "ppapi/thunk/enter.h"
#include "ppapi/thunk/ppb_flash_menu_api.h"
#include "ppapi/thunk/resource_creation_api.h"
-#include "ppapi/thunk/thunk.h"
using ppapi::thunk::EnterFunctionNoLock;
using ppapi::thunk::PPB_Flash_Menu_API;
@@ -75,14 +74,6 @@ void FlashMenu::ShowACK(int32_t selected_id, int32_t result) {
PP_RunAndClearCompletionCallback(&callback_, result);
}
-namespace {
-
-InterfaceProxy* CreateFlashMenuProxy(Dispatcher* dispatcher) {
- return new PPB_Flash_Menu_Proxy(dispatcher);
-}
-
-} // namespace
-
PPB_Flash_Menu_Proxy::PPB_Flash_Menu_Proxy(Dispatcher* dispatcher)
: InterfaceProxy(dispatcher),
callback_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
@@ -92,18 +83,6 @@ PPB_Flash_Menu_Proxy::~PPB_Flash_Menu_Proxy() {
}
// static
-const InterfaceProxy::Info* PPB_Flash_Menu_Proxy::GetInfo() {
- static const Info info = {
- ppapi::thunk::GetPPB_Flash_Menu_Thunk(),
- PPB_FLASH_MENU_INTERFACE,
- API_ID_PPB_FLASH_MENU,
- true,
- &CreateFlashMenuProxy,
- };
- return &info;
-}
-
-// static
PP_Resource PPB_Flash_Menu_Proxy::CreateProxyResource(
PP_Instance instance_id,
const PP_Flash_Menu* menu_data) {
« no previous file with comments | « ppapi/proxy/ppb_flash_menu_proxy.h ('k') | ppapi/proxy/ppb_flash_net_connector_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698