Index: remoting/test/frame_generator_util.h |
diff --git a/remoting/test/frame_generator_util.h b/remoting/test/frame_generator_util.h |
index 719ce33e23fc0786992cc2785fc773776221bed4..e0f7c53422520e8d72c427e1652c32209701829c 100644 |
--- a/remoting/test/frame_generator_util.h |
+++ b/remoting/test/frame_generator_util.h |
@@ -24,6 +24,13 @@ |
webrtc::DesktopRect rect, |
uint32_t color); |
+// Draws barcode that encodes |value| on the |frame|. If |changed| is true then |
+// frame->updated_region() will be updated as well. |
+void DrawBarcode(int value, bool changed, webrtc::DesktopFrame* frame); |
+ |
+// Reads barcode from the frame. |
+int ReadBarcode(const webrtc::DesktopFrame& frame); |
+ |
} // namespace test |
} // namespace remoting |