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

Unified Diff: ppapi/proxy/ppb_flash_file_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_file_proxy.h ('k') | ppapi/proxy/ppb_flash_menu_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_flash_file_proxy.cc
diff --git a/ppapi/proxy/ppb_flash_file_proxy.cc b/ppapi/proxy/ppb_flash_file_proxy.cc
index 975c77a5b5606597143a5d68aecc92b03b3afc6c..e06bc329885e3dfe487ec9ecb8952d67e8678bfa 100644
--- a/ppapi/proxy/ppb_flash_file_proxy.cc
+++ b/ppapi/proxy/ppb_flash_file_proxy.cc
@@ -525,15 +525,9 @@ PPB_Flash_File_ModuleLocal_Proxy::~PPB_Flash_File_ModuleLocal_Proxy() {
}
// static
-const InterfaceProxy::Info* PPB_Flash_File_ModuleLocal_Proxy::GetInfo() {
- static const Info info = {
- &flash_file_modulelocal_interface,
- PPB_FLASH_FILE_MODULELOCAL_INTERFACE,
- API_ID_PPB_FLASH_FILE_MODULELOCAL,
- true,
- &CreateFlashFileModuleLocalProxy,
- };
- return &info;
+const PPB_Flash_File_ModuleLocal*
+PPB_Flash_File_ModuleLocal_Proxy::GetInterface() {
+ return &flash_file_modulelocal_interface;
}
bool PPB_Flash_File_ModuleLocal_Proxy::OnMessageReceived(
@@ -692,15 +686,8 @@ PPB_Flash_File_FileRef_Proxy::~PPB_Flash_File_FileRef_Proxy() {
}
// static
-const InterfaceProxy::Info* PPB_Flash_File_FileRef_Proxy::GetInfo() {
- static const Info info = {
- &flash_file_fileref_interface,
- PPB_FLASH_FILE_FILEREF_INTERFACE,
- API_ID_PPB_FLASH_FILE_FILEREF,
- true,
- &CreateFlashFileFileRefProxy,
- };
- return &info;
+const PPB_Flash_File_FileRef* PPB_Flash_File_FileRef_Proxy::GetInterface() {
+ return &flash_file_fileref_interface;
}
bool PPB_Flash_File_FileRef_Proxy::OnMessageReceived(
« no previous file with comments | « ppapi/proxy/ppb_flash_file_proxy.h ('k') | ppapi/proxy/ppb_flash_menu_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698