| Index: ppapi/thunk/ppb_ext_socket_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_ext_socket_thunk.cc b/ppapi/thunk/ppb_ext_socket_thunk.cc
|
| index e0afd66e27e245aeba082a06d7447ed374f24026..7ae78b4c72c5f967e8c0be13eb1cc98cf706af98 100644
|
| --- a/ppapi/thunk/ppb_ext_socket_thunk.cc
|
| +++ b/ppapi/thunk/ppb_ext_socket_thunk.cc
|
| @@ -325,9 +325,11 @@ int32_t SetMulticastTimeToLive(PP_Instance instance,
|
| input_args.push_back(socket_id);
|
| input_args.push_back(ttl);
|
| output_args.push_back(result);
|
| - return enter.SetResult(enter.functions()->CallBrowser(
|
| - "socket.setMulticastTimeToLive", input_args, output_args,
|
| - enter.callback()));
|
| + return enter.SetResult(
|
| + enter.functions()->CallBrowser("socket.setMulticastTimeToLive",
|
| + input_args,
|
| + output_args,
|
| + enter.callback()));
|
| }
|
|
|
| int32_t SetMulticastLoopbackMode(PP_Instance instance,
|
| @@ -344,9 +346,11 @@ int32_t SetMulticastLoopbackMode(PP_Instance instance,
|
| input_args.push_back(socket_id);
|
| input_args.push_back(enabled);
|
| output_args.push_back(result);
|
| - return enter.SetResult(enter.functions()->CallBrowser(
|
| - "socket.setMulticastLoopbackMode", input_args, output_args,
|
| - enter.callback()));
|
| + return enter.SetResult(
|
| + enter.functions()->CallBrowser("socket.setMulticastLoopbackMode",
|
| + input_args,
|
| + output_args,
|
| + enter.callback()));
|
| }
|
|
|
| int32_t GetJoinedGroups(PP_Instance instance,
|
| @@ -366,45 +370,18 @@ int32_t GetJoinedGroups(PP_Instance instance,
|
| }
|
|
|
| const PPB_Ext_Socket_Dev_0_1 g_ppb_ext_socket_dev_0_1_thunk = {
|
| - &Create,
|
| - &Destroy,
|
| - &Connect,
|
| - &Bind,
|
| - &Disconnect,
|
| - &Read,
|
| - &Write,
|
| - &RecvFrom,
|
| - &SendTo,
|
| - &Listen,
|
| - &Accept,
|
| - &SetKeepAlive,
|
| - &SetNoDelay,
|
| - &GetInfo,
|
| - &GetNetworkList
|
| -};
|
| + &Create, &Destroy, &Connect, &Bind, &Disconnect,
|
| + &Read, &Write, &RecvFrom, &SendTo, &Listen,
|
| + &Accept, &SetKeepAlive, &SetNoDelay, &GetInfo, &GetNetworkList};
|
|
|
| const PPB_Ext_Socket_Dev_0_2 g_ppb_ext_socket_dev_0_2_thunk = {
|
| - &Create,
|
| - &Destroy,
|
| - &Connect,
|
| - &Bind,
|
| - &Disconnect,
|
| - &Read,
|
| - &Write,
|
| - &RecvFrom,
|
| - &SendTo,
|
| - &Listen,
|
| - &Accept,
|
| - &SetKeepAlive,
|
| - &SetNoDelay,
|
| - &GetInfo,
|
| - &GetNetworkList,
|
| - &JoinGroup,
|
| - &LeaveGroup,
|
| - &SetMulticastTimeToLive,
|
| - &SetMulticastLoopbackMode,
|
| - &GetJoinedGroups
|
| -};
|
| + &Create, &Destroy, &Connect,
|
| + &Bind, &Disconnect, &Read,
|
| + &Write, &RecvFrom, &SendTo,
|
| + &Listen, &Accept, &SetKeepAlive,
|
| + &SetNoDelay, &GetInfo, &GetNetworkList,
|
| + &JoinGroup, &LeaveGroup, &SetMulticastTimeToLive,
|
| + &SetMulticastLoopbackMode, &GetJoinedGroups};
|
| } // namespace
|
|
|
| const PPB_Ext_Socket_Dev_0_1* GetPPB_Ext_Socket_Dev_0_1_Thunk() {
|
|
|