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

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: Added errors.cc and cleaned up switch statements. 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..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() {}

Powered by Google App Engine
This is Rietveld 408576698