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

Unified Diff: remoting/host/security_key/security_key_message.h

Issue 1830433002: Adding the message writing class used for remote_security_key STDOUT communication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@messages
Patch Set: Fixing non-windows linking error Created 4 years, 9 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/host/security_key/security_key_message.h
diff --git a/remoting/host/security_key/security_key_message.h b/remoting/host/security_key/security_key_message.h
index 4507c1a9c9246b835a94f8c1d89f2e190bedcabe..bcd0a28f3d30b26b165a45ecfadbc521520f4428 100644
--- a/remoting/host/security_key/security_key_message.h
+++ b/remoting/host/security_key/security_key_message.h
@@ -100,7 +100,10 @@ enum class RemoteSecurityKeyMessageType : uint8_t {
class SecurityKeyMessage final {
public:
// The number of bytes used to represent the header.
- static const int kHeaderSizeBytes = 4;
+ static const int kHeaderSizeBytes;
+
+ // The number of bytes used to represent the message type.
+ static const int kMessageTypeSizeBytes;
SecurityKeyMessage();
~SecurityKeyMessage();

Powered by Google App Engine
This is Rietveld 408576698