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..f9aa1073572b9dd5bf9ac4c6aa07abec368ab752 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" |
|
Sergey Ulanov
2015/07/30 22:00:44
nit: don't need this include.
tonychun
2015/07/30 23:20:26
Removed.
|
| #include "base/memory/ref_counted.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "remoting/protocol/errors.h" |
| @@ -46,6 +47,9 @@ class ConnectionToHost { |
| CLOSED, |
| }; |
| + // Returns the literal string of |state|. |
| + static const char* StateToString(State state); |
| + |
| class HostEventCallback { |
| public: |
| virtual ~HostEventCallback() {} |