summaryrefslogtreecommitdiffstats
path: root/remoting/base/protocol_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/base/protocol_util.h')
-rw-r--r--remoting/base/protocol_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/base/protocol_util.h b/remoting/base/protocol_util.h
index 16781eb..94cdc2f 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_