| Index: ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc b/ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc
|
| index 11962e41edd6d584d85fa3f8839b41405928f296..a1a9d26dc0e46aa113541a14aea6097093428cd3 100644
|
| --- a/ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc
|
| +++ b/ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc
|
| @@ -13,12 +13,9 @@ namespace thunk {
|
|
|
| namespace {
|
|
|
| -bool CreateThreadAdapterForInstance(PP_Instance instance) {
|
| - return true;
|
| -}
|
| +bool CreateThreadAdapterForInstance(PP_Instance instance) { return true; }
|
|
|
| -void ClearThreadAdapterForInstance(PP_Instance instance) {
|
| -}
|
| +void ClearThreadAdapterForInstance(PP_Instance instance) {}
|
|
|
| int32_t OpenFile(PP_Instance instance,
|
| const char* path,
|
| @@ -71,8 +68,7 @@ int32_t GetDirContents(PP_Instance instance,
|
| return enter.functions()->GetDirContents(instance, path, contents);
|
| }
|
|
|
| -void FreeDirContents(PP_Instance instance,
|
| - PP_DirContents_Dev* contents) {
|
| +void FreeDirContents(PP_Instance instance, PP_DirContents_Dev* contents) {
|
| EnterInstanceAPI<PPB_Flash_File_API> enter(instance);
|
| if (enter.succeeded())
|
| enter.functions()->FreeDirContents(instance, contents);
|
| @@ -88,22 +84,16 @@ int32_t CreateTemporaryFile(PP_Instance instance, PP_FileHandle* file) {
|
| }
|
|
|
| const PPB_Flash_File_ModuleLocal_3_0 g_ppb_flash_file_modulelocal_thunk_3_0 = {
|
| - &CreateThreadAdapterForInstance,
|
| - &ClearThreadAdapterForInstance,
|
| - &OpenFile,
|
| - &RenameFile,
|
| - &DeleteFileOrDir,
|
| - &CreateDir,
|
| - &QueryFile,
|
| - &GetDirContents,
|
| - &FreeDirContents,
|
| - &CreateTemporaryFile
|
| -};
|
| + &CreateThreadAdapterForInstance, &ClearThreadAdapterForInstance,
|
| + &OpenFile, &RenameFile,
|
| + &DeleteFileOrDir, &CreateDir,
|
| + &QueryFile, &GetDirContents,
|
| + &FreeDirContents, &CreateTemporaryFile};
|
|
|
| } // namespace
|
|
|
| const PPB_Flash_File_ModuleLocal_3_0*
|
| - GetPPB_Flash_File_ModuleLocal_3_0_Thunk() {
|
| +GetPPB_Flash_File_ModuleLocal_3_0_Thunk() {
|
| return &g_ppb_flash_file_modulelocal_thunk_3_0;
|
| }
|
|
|
|
|