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

Unified Diff: remoting/base/decoder_verbatim.cc

Issue 3141036: Revert 57112 - Rename (Host|Client)Message to Chromoting(Host|Client)Message.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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/base/decoder_verbatim.h ('k') | remoting/base/decoder_verbatim_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/decoder_verbatim.cc
===================================================================
--- remoting/base/decoder_verbatim.cc (revision 57114)
+++ remoting/base/decoder_verbatim.cc (working copy)
@@ -38,8 +38,8 @@
return true;
}
-bool DecoderVerbatim::PartialDecode(ChromotingHostMessage* message) {
- scoped_ptr<ChromotingHostMessage> msg_deleter(message);
+bool DecoderVerbatim::PartialDecode(HostMessage* message) {
+ scoped_ptr<HostMessage> msg_deleter(message);
DCHECK(message->has_update_stream_packet());
bool ret = true;
@@ -62,7 +62,7 @@
updated_rects_ = NULL;
}
-bool DecoderVerbatim::HandleBeginRect(ChromotingHostMessage* message) {
+bool DecoderVerbatim::HandleBeginRect(HostMessage* message) {
DCHECK_EQ(kWaitingForBeginRect, state_);
state_ = kWaitingForRectData;
@@ -86,7 +86,7 @@
return true;
}
-bool DecoderVerbatim::HandleRectData(ChromotingHostMessage* message) {
+bool DecoderVerbatim::HandleRectData(HostMessage* message) {
DCHECK_EQ(kWaitingForRectData, state_);
DCHECK_EQ(0,
message->update_stream_packet().rect_data().sequence_number());
@@ -118,7 +118,7 @@
return true;
}
-bool DecoderVerbatim::HandleEndRect(ChromotingHostMessage* message) {
+bool DecoderVerbatim::HandleEndRect(HostMessage* message) {
DCHECK_EQ(kWaitingForRectData, state_);
state_ = kWaitingForBeginRect;
return true;
« no previous file with comments | « remoting/base/decoder_verbatim.h ('k') | remoting/base/decoder_verbatim_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698