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

Unified Diff: remoting/test/frame_generator_util.h

Issue 2431513003: Revert of Don't use barcodes in ProtocolPerfTests (Closed)
Patch Set: Created 4 years, 2 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 | « remoting/test/cyclic_frame_generator.cc ('k') | remoting/test/frame_generator_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « remoting/test/cyclic_frame_generator.cc ('k') | remoting/test/frame_generator_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698