Chromium Code Reviews| Index: remoting/protocol/errors.h |
| diff --git a/remoting/protocol/errors.h b/remoting/protocol/errors.h |
| index 7f4daf64031c6b8d4341c24da623b72bef84894a..397b9b158dcdd73bc326f1ad2d0d06486157adc8 100644 |
| --- a/remoting/protocol/errors.h |
| +++ b/remoting/protocol/errors.h |
| @@ -5,6 +5,8 @@ |
| #ifndef REMOTING_PROTOCOL_ERROR_H_ |
| #define REMOTING_PROTOCOL_ERROR_H_ |
| +#include "base/logging.h" |
|
Sergey Ulanov
2015/07/30 22:00:44
nit: don't need this include.
tonychun
2015/07/30 23:20:27
Removed.
|
| + |
| namespace remoting { |
| namespace protocol { |
| @@ -25,6 +27,9 @@ enum ErrorCode { |
| UNKNOWN_ERROR, |
| }; |
| +// Returns the literal string of |error|. |
| +const char* ErrorCodeToString(ErrorCode error); |
| + |
| } // namespace protocol |
| } // namespace remoting |