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

Unified Diff: remoting/base/protocol_util.h

Issue 2865019: remoting: Extract the utility to get the BytesPerPixel from PixelFormat into a function. (Closed)
Patch Set: sort order Created 10 years, 6 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
« no previous file with comments | « no previous file | remoting/base/protocol_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/protocol_util.h
diff --git a/remoting/base/protocol_util.h b/remoting/base/protocol_util.h
index 16781eb2cede43cc8f3fdee43427d22fe6326e00..94cdc2f0949f03a46dab4bde122c6e73b6eb292e 100644
--- a/remoting/base/protocol_util.h
+++ b/remoting/base/protocol_util.h
@@ -7,6 +7,7 @@
#include "google/protobuf/message_lite.h"
#include "media/base/data_buffer.h"
+#include "remoting/base/protocol/chromotocol.pb.h"
// This file defines utility methods used for encoding and decoding the protocol
// used in Chromoting.
@@ -19,6 +20,8 @@ namespace remoting {
scoped_refptr<media::DataBuffer> SerializeAndFrameMessage(
const google::protobuf::MessageLite& msg);
+int GetBytesPerPixel(PixelFormat format);
+
} // namespace remoting
#endif // REMOTING_BASE_PROTOCOL_UTIL_H_
« no previous file with comments | « no previous file | remoting/base/protocol_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698