summaryrefslogtreecommitdiffstats
path: root/remoting/base/decoder_verbatim.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/base/decoder_verbatim.cc')
-rw-r--r--remoting/base/decoder_verbatim.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/remoting/base/decoder_verbatim.cc b/remoting/base/decoder_verbatim.cc
index af4f83b..b944bbc 100644
--- a/remoting/base/decoder_verbatim.cc
+++ b/remoting/base/decoder_verbatim.cc
@@ -42,8 +42,8 @@ bool DecoderVerbatim::BeginDecode(scoped_refptr<media::VideoFrame> frame,
return true;
}
-bool DecoderVerbatim::PartialDecode(HostMessage* message) {
- scoped_ptr<HostMessage> msg_deleter(message);
+bool DecoderVerbatim::PartialDecode(ChromotingHostMessage* message) {
+ scoped_ptr<ChromotingHostMessage> msg_deleter(message);
DCHECK(message->has_update_stream_packet());
DCHECK(started_);
@@ -70,7 +70,7 @@ void DecoderVerbatim::EndDecode() {
started_ = false;
}
-bool DecoderVerbatim::HandleBeginRect(HostMessage* message) {
+bool DecoderVerbatim::HandleBeginRect(ChromotingHostMessage* message) {
DCHECK_EQ(kWaitingForBeginRect, state_);
state_ = kWaitingForRectData;
@@ -94,7 +94,7 @@ bool DecoderVerbatim::HandleBeginRect(HostMessage* message) {
return true;
}
-bool DecoderVerbatim::HandleRectData(HostMessage* message) {
+bool DecoderVerbatim::HandleRectData(ChromotingHostMessage* message) {
DCHECK_EQ(kWaitingForRectData, state_);
DCHECK_EQ(0,
message->update_stream_packet().rect_data().sequence_number());
@@ -126,7 +126,7 @@ bool DecoderVerbatim::HandleRectData(HostMessage* message) {
return true;
}
-bool DecoderVerbatim::HandleEndRect(HostMessage* message) {
+bool DecoderVerbatim::HandleEndRect(ChromotingHostMessage* message) {
DCHECK_EQ(kWaitingForRectData, state_);
state_ = kWaitingForBeginRect;
return true;