Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Unified Diff: remoting/protocol/connection_to_host.h

Issue 1238343002: Added ConnectionTimeObserver to calculate the times to authenticate and connect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved implementation to connection_to_host_impl.cc and removed inline. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698