summaryrefslogtreecommitdiffstats
path: root/remoting/base/codec_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/base/codec_test.cc')
-rw-r--r--remoting/base/codec_test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/remoting/base/codec_test.cc b/remoting/base/codec_test.cc
index fd4469c..40c42ed 100644
--- a/remoting/base/codec_test.cc
+++ b/remoting/base/codec_test.cc
@@ -85,7 +85,7 @@ class EncoderMessageTester {
}
// Test that we received the correct message.
- void ReceivedMessage(HostMessage* message) {
+ void ReceivedMessage(ChromotingHostMessage* message) {
EXPECT_TRUE(message->has_update_stream_packet());
if (state_ == kWaitingForBeginRect) {
@@ -162,7 +162,7 @@ class DecoderTester {
EXPECT_TRUE(frame_.get());
}
- void ReceivedMessage(HostMessage* message) {
+ void ReceivedMessage(ChromotingHostMessage* message) {
if (message->has_update_stream_packet()) {
decoder_->PartialDecode(message);
return;
@@ -265,7 +265,7 @@ class EncoderTester {
EXPECT_GT(data_available_, 0);
}
- void DataAvailable(HostMessage* message,
+ void DataAvailable(ChromotingHostMessage* message,
Encoder::EncodingState state) {
++data_available_;
message_tester_->ReceivedMessage(message);
@@ -274,7 +274,7 @@ class EncoderTester {
// Send the message to the DecoderTester.
if (decoder_tester_) {
if (state & Encoder::EncodingStarting) {
- HostMessage* begin_update = new HostMessage();
+ ChromotingHostMessage* begin_update = new ChromotingHostMessage();
begin_update->mutable_begin_update_stream();
decoder_tester_->ReceivedMessage(begin_update);
}
@@ -284,7 +284,7 @@ class EncoderTester {
}
if (state & Encoder::EncodingEnded) {
- HostMessage* end_update = new HostMessage();
+ ChromotingHostMessage* end_update = new ChromotingHostMessage();
end_update->mutable_end_update_stream();
decoder_tester_->ReceivedMessage(end_update);
}