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

Unified Diff: remoting/base/decoder_zlib.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_zlib.h ('k') | remoting/base/encoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/decoder_zlib.cc
===================================================================
--- remoting/base/decoder_zlib.cc (revision 57114)
+++ remoting/base/decoder_zlib.cc (working copy)
@@ -49,8 +49,8 @@
return true;
}
-bool DecoderZlib::PartialDecode(ChromotingHostMessage* message) {
- scoped_ptr<ChromotingHostMessage> msg_deleter(message);
+bool DecoderZlib::PartialDecode(HostMessage* message) {
+ scoped_ptr<HostMessage> msg_deleter(message);
DCHECK(message->has_update_stream_packet());
bool ret = true;
@@ -74,7 +74,7 @@
decompressor_.reset();
}
-bool DecoderZlib::HandleBeginRect(ChromotingHostMessage* message) {
+bool DecoderZlib::HandleBeginRect(HostMessage* message) {
DCHECK_EQ(kWaitingForBeginRect, state_);
state_ = kWaitingForRectData;
@@ -100,7 +100,7 @@
return true;
}
-bool DecoderZlib::HandleRectData(ChromotingHostMessage* message) {
+bool DecoderZlib::HandleRectData(HostMessage* message) {
DCHECK_EQ(kWaitingForRectData, state_);
DCHECK_EQ(0,
message->update_stream_packet().rect_data().sequence_number());
@@ -145,7 +145,7 @@
return true;
}
-bool DecoderZlib::HandleEndRect(ChromotingHostMessage* message) {
+bool DecoderZlib::HandleEndRect(HostMessage* message) {
DCHECK_EQ(kWaitingForRectData, state_);
state_ = kWaitingForBeginRect;
« no previous file with comments | « remoting/base/decoder_zlib.h ('k') | remoting/base/encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698