diff options
author | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-23 22:00:20 +0000 |
---|---|---|
committer | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-23 22:00:20 +0000 |
commit | 81824d23b48295a2f07ac6417a15f815e4f038a2 (patch) | |
tree | e56de95590ab9828fff5d5ea9c79281c8d262134 /remoting/base/decoder.h | |
parent | e012492b4d13f638f0bfdd9524367078e34001ec (diff) | |
download | chromium_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/base/decoder.h')
-rw-r--r-- | remoting/base/decoder.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/remoting/base/decoder.h b/remoting/base/decoder.h index 1df477d..9795761 100644 --- a/remoting/base/decoder.h +++ b/remoting/base/decoder.h @@ -24,7 +24,7 @@ typedef std::vector<gfx::Rect> UpdatedRects; // Sequence of actions with a decoder is as follows: // // 1. BeginDecode(PartialDecodeDone, DecodeDone, VideoFrame) -// 2. PartialDecode(HostMessage) +// 2. PartialDecode(ChromotingHostMessage) // ... // 3. EndDecode() // @@ -54,15 +54,15 @@ class Decoder { Task* partial_decode_done, Task* decode_done) = 0; - // Give a HostMessage that contains the update stream packet that contains - // the encoded data to the decoder. + // Give a ChromotingHostMessage that contains the update stream packet that + // contains the encoded data to the decoder. // The decoder will own |message| and is responsible for deleting it. // // If the decoder has written something into |frame|, // |partial_decode_done_| is called with |frame| and updated regions. // Return true if the decoder can accept |message| and decode it. // - // HostMessage returned by this method will contain a + // ChromotingHostMessage returned by this method will contain a // UpdateStreamPacketMessage. // This message will contain either: // 1. UpdateStreamBeginRect @@ -71,7 +71,7 @@ class Decoder { // // See remoting/base/protocol/chromotocol.proto for more information about // these messages. - virtual bool PartialDecode(HostMessage* message) = 0; + virtual bool PartialDecode(ChromotingHostMessage* message) = 0; // Notify the decoder that we have received the last update stream packet. // If the decoding of the update stream has completed |decode_done_| is |