summaryrefslogtreecommitdiffstats
path: root/remoting/client/x11_view.cc
diff options
context:
space:
mode:
authorgarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-23 22:00:20 +0000
committergarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-23 22:00:20 +0000
commit81824d23b48295a2f07ac6417a15f815e4f038a2 (patch)
treee56de95590ab9828fff5d5ea9c79281c8d262134 /remoting/client/x11_view.cc
parente012492b4d13f638f0bfdd9524367078e34001ec (diff)
downloadchromium_src-81824d23b48295a2f07ac6417a15f815e4f038a2.zip
chromium_src-81824d23b48295a2f07ac6417a15f815e4f038a2.tar.gz
chromium_src-81824d23b48295a2f07ac6417a15f815e4f038a2.tar.bz2
Rename (Host|Client)Message to Chromoting(Host|Client)Message.
Rename HostMessage and ClientMessage to Chromoting{Host|Client}Message to avoid conflicts with messages in X11. Actually, only ClientMessage needs to be changed due to conflict, but HostMessage is changed to keep the names consistent. BUG=none TEST=remoting unittests Review URL: http://codereview.chromium.org/3161034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57112 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/x11_view.cc')
-rw-r--r--remoting/client/x11_view.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/remoting/client/x11_view.cc b/remoting/client/x11_view.cc
index b733d93..ff51e9a 100644
--- a/remoting/client/x11_view.cc
+++ b/remoting/client/x11_view.cc
@@ -169,8 +169,8 @@ void X11View::InitPaintTarget() {
CHECK(picture_) << "Backing picture not created";
}
-void X11View::HandleBeginUpdateStream(HostMessage* msg) {
- scoped_ptr<HostMessage> deleter(msg);
+void X11View::HandleBeginUpdateStream(ChromotingHostMessage* msg) {
+ scoped_ptr<ChromotingHostMessage> deleter(msg);
// TODO(hclam): Use the information from the message to create the decoder.
// We lazily construct the decoder.
@@ -184,12 +184,12 @@ void X11View::HandleBeginUpdateStream(HostMessage* msg) {
NewRunnableMethod(this, &X11View::OnDecodeDone));
}
-void X11View::HandleUpdateStreamPacket(HostMessage* msg) {
+void X11View::HandleUpdateStreamPacket(ChromotingHostMessage* msg) {
decoder_->PartialDecode(msg);
}
-void X11View::HandleEndUpdateStream(HostMessage* msg) {
- scoped_ptr<HostMessage> deleter(msg);
+void X11View::HandleEndUpdateStream(ChromotingHostMessage* msg) {
+ scoped_ptr<ChromotingHostMessage> deleter(msg);
decoder_->EndDecode();
}