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

Unified Diff: remoting/client/plugin/pepper_packet_socket_factory.cc

Issue 339503006: Update error-handling logic in ChromiumPacketSocketFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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: 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

Powered by Google App Engine
This is Rietveld 408576698