summaryrefslogtreecommitdiffstats
path: root/remoting/jingle_glue/utils.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-28 20:59:56 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-28 20:59:56 +0000
commit2fc3b4267fd4f28dd864c2858cea0e84f55cbb0a (patch)
tree726f9dc89d195927c151dd969c68051b0c135a02 /remoting/jingle_glue/utils.h
parente393b9fc0267deaf55f3624aa7b0bfb08707dfda (diff)
downloadchromium_src-2fc3b4267fd4f28dd864c2858cea0e84f55cbb0a.zip
chromium_src-2fc3b4267fd4f28dd864c2858cea0e84f55cbb0a.tar.gz
chromium_src-2fc3b4267fd4f28dd864c2858cea0e84f55cbb0a.tar.bz2
Implemented basic support Chromotocol connection.
New code supports multiple PseudoTCP and UDP channels. Client and host still use old JjngleChannel for connection. BUG=53986 TEST=None Review URL: http://codereview.chromium.org/3319021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60842 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/jingle_glue/utils.h')
-rw-r--r--remoting/jingle_glue/utils.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/remoting/jingle_glue/utils.h b/remoting/jingle_glue/utils.h
new file mode 100644
index 0000000..044a9ed
--- /dev/null
+++ b/remoting/jingle_glue/utils.h
@@ -0,0 +1,15 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_JINGLE_GLUE_UTILS_H_
+#define REMOTING_JINGLE_GLUE_UTILS_H_
+
+namespace remoting {
+
+// Convert values from <errno.h> to values from "net/base/net_errors.h"
+int MapPosixToChromeError(int err);
+
+} // namespace remoting
+
+#endif // REMOTING_JINGLE_GLUE_UTILS_H_