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

Unified Diff: remoting/protocol/errors.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/errors.h
diff --git a/remoting/protocol/errors.h b/remoting/protocol/errors.h
index 7f4daf64031c6b8d4341c24da623b72bef84894a..397b9b158dcdd73bc326f1ad2d0d06486157adc8 100644
--- a/remoting/protocol/errors.h
+++ b/remoting/protocol/errors.h
@@ -5,6 +5,8 @@
#ifndef REMOTING_PROTOCOL_ERROR_H_
#define REMOTING_PROTOCOL_ERROR_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:27 Removed.
+
namespace remoting {
namespace protocol {
@@ -25,6 +27,9 @@ enum ErrorCode {
UNKNOWN_ERROR,
};
+// Returns the literal string of |error|.
+const char* ErrorCodeToString(ErrorCode error);
+
} // namespace protocol
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698