Index: remoting/protocol/errors.h |
diff --git a/remoting/protocol/errors.h b/remoting/protocol/errors.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..07ab3010ebaed48812f89c70a8d07d56055838c3 |
--- /dev/null |
+++ b/remoting/protocol/errors.h |
@@ -0,0 +1,25 @@ |
+// Copyright (c) 2012 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_PROTOCOL_ERROR_H_ |
+#define REMOTING_PROTOCOL_ERROR_H_ |
+ |
+namespace remoting { |
+namespace protocol { |
+ |
+enum ErrorCode { |
+ OK = 0, |
+ PEER_IS_OFFLINE, |
+ SESSION_REJECTED, |
+ INCOMPATIBLE_PROTOCOL, |
+ AUTHENTICATION_FAILED, |
+ CHANNEL_CONNECTION_ERROR, |
+ SIGNALING_TIMEOUT, |
+ UNKNOWN_ERROR, |
+}; |
+ |
+} // namespace protocol |
+} // namespace remoting |
+ |
+#endif // REMOTING_PROTOCOL_ERROR_H_ |