| Index: remoting/protocol/errors.h
|
| diff --git a/remoting/protocol/errors.h b/remoting/protocol/errors.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f48c4b10da52f25406ca6d19b12cf0e735a2fe22
|
| --- /dev/null
|
| +++ b/remoting/protocol/errors.h
|
| @@ -0,0 +1,26 @@
|
| +// 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_ERROR,
|
| + SIGNALING_TIMEOUT,
|
| + UNKNOWN_ERROR,
|
| +};
|
| +
|
| +} // namespace protocol
|
| +} // namespace remoting
|
| +
|
| +#endif // REMOTING_PROTOCOL_ERROR_H_
|
|
|