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

Unified Diff: remoting/base/codec_test.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 | « no previous file | remoting/base/decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/codec_test.cc
===================================================================
--- remoting/base/codec_test.cc (revision 57114)
+++ remoting/base/codec_test.cc (working copy)
@@ -85,7 +85,7 @@
}
// Test that we received the correct message.
- void ReceivedMessage(ChromotingHostMessage* message) {
+ void ReceivedMessage(HostMessage* message) {
EXPECT_TRUE(message->has_update_stream_packet());
if (state_ == kWaitingForBeginRect) {
@@ -162,7 +162,7 @@
EXPECT_TRUE(frame_.get());
}
- void ReceivedMessage(ChromotingHostMessage* message) {
+ void ReceivedMessage(HostMessage* message) {
if (message->has_update_stream_packet()) {
decoder_->PartialDecode(message);
return;
@@ -265,7 +265,7 @@
EXPECT_GT(data_available_, 0);
}
- void DataAvailable(ChromotingHostMessage* message,
+ void DataAvailable(HostMessage* message,
Encoder::EncodingState state) {
++data_available_;
message_tester_->ReceivedMessage(message);
@@ -274,7 +274,7 @@
// Send the message to the DecoderTester.
if (decoder_tester_) {
if (state & Encoder::EncodingStarting) {
- ChromotingHostMessage* begin_update = new ChromotingHostMessage();
+ HostMessage* begin_update = new HostMessage();
begin_update->mutable_begin_update_stream();
decoder_tester_->ReceivedMessage(begin_update);
}
@@ -284,7 +284,7 @@
}
if (state & Encoder::EncodingEnded) {
- ChromotingHostMessage* end_update = new ChromotingHostMessage();
+ HostMessage* end_update = new HostMessage();
end_update->mutable_end_update_stream();
decoder_tester_->ReceivedMessage(end_update);
}
« no previous file with comments | « no previous file | remoting/base/decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698