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

Unified Diff: ppapi/proxy/dispatcher.cc

Issue 6543028: Implement the filesystem proxy. This allows the FileRef tests to pass in the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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: ppapi/proxy/dispatcher.cc
===================================================================
--- ppapi/proxy/dispatcher.cc (revision 75471)
+++ ppapi/proxy/dispatcher.cc (working copy)
@@ -50,6 +50,7 @@
#include "ppapi/proxy/ppb_cursor_control_proxy.h"
#include "ppapi/proxy/ppb_file_chooser_proxy.h"
#include "ppapi/proxy/ppb_file_ref_proxy.h"
+#include "ppapi/proxy/ppb_file_system_proxy.h"
#include "ppapi/proxy/ppb_flash_proxy.h"
#include "ppapi/proxy/ppb_flash_menu_proxy.h"
#include "ppapi/proxy/ppb_font_proxy.h"
@@ -92,10 +93,8 @@
};
InterfaceList::InterfaceList() {
- memset(id_to_plugin_info_, 0,
- static_cast<int>(INTERFACE_ID_COUNT) * sizeof(InterfaceID));
- memset(id_to_browser_info_, 0,
- static_cast<int>(INTERFACE_ID_COUNT) * sizeof(InterfaceID));
+ memset(id_to_plugin_info_, 0, sizeof(id_to_plugin_info_));
+ memset(id_to_browser_info_, 0, sizeof(id_to_browser_info_));
// PPB (browser) interfaces.
AddPPB(PPB_AudioConfig_Proxy::GetInfo());
@@ -107,6 +106,7 @@
AddPPB(PPB_CursorControl_Proxy::GetInfo());
AddPPB(PPB_FileChooser_Proxy::GetInfo());
AddPPB(PPB_FileRef_Proxy::GetInfo());
+ AddPPB(PPB_FileSystem_Proxy::GetInfo());
AddPPB(PPB_Flash_Proxy::GetInfo());
AddPPB(PPB_Flash_Menu_Proxy::GetInfo());
AddPPB(PPB_Font_Proxy::GetInfo());

Powered by Google App Engine
This is Rietveld 408576698