Chromium Code Reviews| Index: remoting/protocol/connection_to_host.h |
| diff --git a/remoting/protocol/connection_to_host.h b/remoting/protocol/connection_to_host.h |
| index a20bd22605986474c53152c975dc089c8bd99b20..22a13debb92360f7122e7b3923caacf07c7e0707 100644 |
| --- a/remoting/protocol/connection_to_host.h |
| +++ b/remoting/protocol/connection_to_host.h |
| @@ -8,6 +8,7 @@ |
| #include <string> |
| #include "base/callback_forward.h" |
| +#include "base/logging.h" |
| #include "base/memory/ref_counted.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "remoting/protocol/errors.h" |
| @@ -106,6 +107,9 @@ class ConnectionToHost { |
| virtual State state() const = 0; |
| }; |
| +// Returns the literal string of |state|. |
| +const char* ConnectionStateToString(ConnectionToHost::State state); |
|
Sergey Ulanov
2015/07/30 21:00:42
I think I suggested this before: make this a stati
tonychun
2015/07/30 21:43:16
Done.
|
| + |
| } // namespace protocol |
| } // namespace remoting |