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

Side by Side Diff: remoting/protocol/socket_util.h

Issue 390983003: Remove remoting/jingle_glue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/protocol/network_settings_unittest.cc ('k') | remoting/protocol/socket_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_JINGLE_GLUE_SOCKET_UTIL_H_ 5 #ifndef REMOTING_PROTOCOL_SOCKET_UTIL_H_
6 #define REMOTING_JINGLE_GLUE_SOCKET_UTIL_H_ 6 #define REMOTING_PROTOCOL_SOCKET_UTIL_H_
7 7
8 namespace remoting { 8 namespace remoting {
9 9
10 // Enum for different actions that can be taken after sendto() returns an error. 10 // Enum for different actions that can be taken after sendto() returns an error.
11 enum SocketErrorAction { 11 enum SocketErrorAction {
12 SOCKET_ERROR_ACTION_FAIL, 12 SOCKET_ERROR_ACTION_FAIL,
13 SOCKET_ERROR_ACTION_IGNORE, 13 SOCKET_ERROR_ACTION_IGNORE,
14 SOCKET_ERROR_ACTION_RETRY, 14 SOCKET_ERROR_ACTION_RETRY,
15 }; 15 };
16 16
17 // Returns true if |error| must be ignored when returned from sendto(). |retry| 17 // Returns true if |error| must be ignored when returned from sendto(). |retry|
18 // is set set when sentto() should be called for the same packet again. 18 // is set set when sentto() should be called for the same packet again.
19 SocketErrorAction GetSocketErrorAction(int error); 19 SocketErrorAction GetSocketErrorAction(int error);
20 20
21 } // namespace remoting 21 } // namespace remoting
22 22
23 #endif // REMOTING_JINGLE_GLUE_SOCKET_UTIL_H_ 23 #endif // REMOTING_PROTOCOL_SOCKET_UTIL_H_
OLDNEW
« no previous file with comments | « remoting/protocol/network_settings_unittest.cc ('k') | remoting/protocol/socket_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698