Chromium Code Reviews| Index: remoting/client/plugin/pepper_packet_socket_factory.cc |
| diff --git a/remoting/client/plugin/pepper_packet_socket_factory.cc b/remoting/client/plugin/pepper_packet_socket_factory.cc |
| index dc99753c2d4a2cd7af39703fabc3d6f2f3dca868..a226292af04f9590640b3f752b1ee3925773d462 100644 |
| --- a/remoting/client/plugin/pepper_packet_socket_factory.cc |
| +++ b/remoting/client/plugin/pepper_packet_socket_factory.cc |
| @@ -34,6 +34,9 @@ enum ErrorAction { |
| }; |
| // Returns ErrorAction to perform if sendto() fails with |error|. |
| +// |
| +// Keep this logic in sync with GetErrorAction() in |
| +// remoting/jingle_glue/chromium_socket_factory.cc . |
|
Wez
2014/06/17 03:27:54
Could we convert the PPAPI error code to a net err
Sergey Ulanov
2014/06/17 22:32:04
Done.
|
| ErrorAction GetErrorAction(int error) { |
| switch (error) { |
| // UDP is connectionless, so we may receive ICMP unreachable or reset errors |