diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 19:48:42 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 19:48:42 +0000 |
commit | 8ea7a167522a24be192e958af46a41d49e78504c (patch) | |
tree | 571cf839290beed90019a744c3a096be89cc67d1 /remoting/host/client_connection.h | |
parent | b552f1787ca864e458e4c14e6012c20b423161a5 (diff) | |
download | chromium_src-8ea7a167522a24be192e958af46a41d49e78504c.zip chromium_src-8ea7a167522a24be192e958af46a41d49e78504c.tar.gz chromium_src-8ea7a167522a24be192e958af46a41d49e78504c.tar.bz2 |
This is a monster CL.
It started as an attempt to put the decoder onto another thread. However, this became complicated due to multiple object ownership transfers and coupling between the decode layer and the network layer; the decoder's states were highly coupled with how the network packets were processed.
This could probably be broken up slightly, but at this point, it's easier to just commit as a whole The refactor includes:
1) Making the decoder interface unaware of "network packet" types.
2) Making the network layer process packets in order.
3) Threading through asynchronous APIs all over the place.
4) Simplifying the rectangle update protocol.
5) Cleaning up object lifetime and ownership semantics between the decode layer and the renderer.
As of right now, the Verbatim format is still broken on the encode side because it uses the old protocol.
BUG=52883, 57351
TEST=still connects to chromoting_simple_host
Review URL: http://codereview.chromium.org/3305001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/client_connection.h')
-rw-r--r-- | remoting/host/client_connection.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/host/client_connection.h b/remoting/host/client_connection.h index ddd0724..0ea2b26 100644 --- a/remoting/host/client_connection.h +++ b/remoting/host/client_connection.h @@ -95,6 +95,8 @@ class ClientConnection : public base::RefCountedThreadSafe<ClientConnection>, // Notifies the viewer the update stream has ended. virtual void SendEndUpdateStreamMessage(); + virtual void MarkEndOfUpdate(); + // Gets the number of update stream messages not yet transmitted. // Note that the value returned is an estimate using average size of the // most recent update streams. |