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

Unified Diff: remoting/test/test_video_renderer.h

Issue 1219923011: Added image pattern comparison logic for test interface and fixture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "Minor changes on comments" Created 5 years, 5 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/test/test_video_renderer.h
diff --git a/remoting/test/test_video_renderer.h b/remoting/test/test_video_renderer.h
index b9a84f7ff697e02520984054ba5366c7b7fb9b7b..02a11fda1dbe770d0592bcf7548732396dee0333 100644
--- a/remoting/test/test_video_renderer.h
+++ b/remoting/test/test_video_renderer.h
@@ -23,11 +23,11 @@ class DesktopFrame;
class DesktopRect;
}
-typedef uint32 RgbaColor;
-
namespace remoting {
namespace test {
+typedef uint32_t RGBA32;
+
// Processes video packets as they are received from the remote host. Must be
// used from a thread running a message loop and this class will use that
// message loop to execute the done callbacks passed by the caller of
@@ -61,7 +61,7 @@ class TestVideoRenderer : public VideoRenderer, public protocol::VideoStub {
// when the pattern is matched.
void SetImagePatternAndMatchedCallback(
const webrtc::DesktopRect& expected_rect,
- const RgbaColor& expected_color,
+ const RGBA32& expected_color,
const base::Closure& image_pattern_matched_callback);
private:

Powered by Google App Engine
This is Rietveld 408576698