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

Unified Diff: remoting/protocol/connection_to_host_impl.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 ConnectionStateToFriendlyString to ConnectionToHostImpl and Added environment class to main. 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_impl.h
diff --git a/remoting/protocol/connection_to_host_impl.h b/remoting/protocol/connection_to_host_impl.h
index fc2306d9760c5c671629d4b1010ad24348b3c22e..1aa58f5ecdb7129006cbf67ac7410721949def53 100644
--- a/remoting/protocol/connection_to_host_impl.h
+++ b/remoting/protocol/connection_to_host_impl.h
@@ -37,6 +37,12 @@ class ClientControlDispatcher;
class ClientEventDispatcher;
class ClientVideoDispatcher;
+const char* ConnectionStateToFriendlyString(
Sergey Ulanov 2015/07/29 00:56:23 Make this static method in ConnectionToHost?
tonychun 2015/07/29 16:10:13 Done.
+ remoting::protocol::ConnectionToHost::State state);
+
+const char* ProtocolErrorToFriendlyString(
+ remoting::protocol::ErrorCode error_code);
joedow 2015/07/28 23:09:05 I'm wondering if this should be in connection_to_h
Sergey Ulanov 2015/07/29 00:56:23 Yeah, I don't think it belongs in this file. Move
tonychun 2015/07/29 16:10:13 I've added an Error class which also has a static
+
class ConnectionToHostImpl : public ConnectionToHost,
public SignalStrategy::Listener,
public SessionManager::Listener,
« no previous file with comments | « no previous file | remoting/protocol/connection_to_host_impl.cc » ('j') | remoting/protocol/connection_to_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698