Chromium Code Reviews| Index: remoting/protocol/errors.h |
| diff --git a/remoting/protocol/errors.h b/remoting/protocol/errors.h |
| index da9db8aa264762d60130eb6004b5cd521eff7c00..207d2833fc2371449f55ebda49407e8e6c972fc8 100644 |
| --- a/remoting/protocol/errors.h |
| +++ b/remoting/protocol/errors.h |
| @@ -5,6 +5,10 @@ |
| #ifndef REMOTING_PROTOCOL_ERROR_H_ |
| #define REMOTING_PROTOCOL_ERROR_H_ |
| +#include <string> |
| + |
| +#include "remoting/protocol/name_value_map.h" |
|
Sergey Ulanov
2016/06/03 08:43:22
Don't need this include
Hzj_jie
2016/06/03 21:46:33
Done.
|
| + |
| namespace remoting { |
| namespace protocol { |
| @@ -30,6 +34,8 @@ enum ErrorCode { |
| ERROR_CODE_MAX = UNKNOWN_ERROR, |
| }; |
| +bool ParseErrorCode(const std::string& name, ErrorCode* result); |
| + |
| // Returns the literal string of |error|. |
| const char* ErrorCodeToString(ErrorCode error); |