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

Issue 8468022: Refactor channel dispatchers on the host side. (Closed)

Created:
9 years, 1 month ago by Sergey Ulanov
Modified:
9 years, 1 month ago
Reviewers:
Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Refactor channel dispatchers on the host side. The new HostControlDispatcher manages reading and writing to and from control channel on the host side. Similarly HostEventDispatcher is responsible for reading and, in future, writing to and from the event channel. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110625

Patch Set 1 #

Patch Set 2 : - #

Total comments: 18

Patch Set 3 : - #

Patch Set 4 : - #

Patch Set 5 : - #

Total comments: 18

Patch Set 6 : - #

Patch Set 7 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -278 lines) Patch
M remoting/proto/control.proto View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
D remoting/protocol/client_control_sender.h View 1 chunk +0 lines, -57 lines 0 comments Download
D remoting/protocol/client_control_sender.cc View 1 chunk +0 lines, -40 lines 0 comments Download
M remoting/protocol/connection_to_client.h View 1 2 3 2 chunks +4 lines, -7 lines 0 comments Download
M remoting/protocol/connection_to_client.cc View 1 2 3 4 4 chunks +13 lines, -10 lines 0 comments Download
A remoting/protocol/host_control_dispatcher.h View 1 2 3 4 5 6 1 chunk +58 lines, -0 lines 0 comments Download
A remoting/protocol/host_control_dispatcher.cc View 1 2 3 4 5 1 chunk +51 lines, -0 lines 0 comments Download
A remoting/protocol/host_event_dispatcher.h View 1 2 3 4 5 1 chunk +58 lines, -0 lines 0 comments Download
A remoting/protocol/host_event_dispatcher.cc View 1 2 3 4 5 1 chunk +51 lines, -0 lines 0 comments Download
D remoting/protocol/host_message_dispatcher.h View 1 chunk +0 lines, -75 lines 0 comments Download
D remoting/protocol/host_message_dispatcher.cc View 1 chunk +0 lines, -82 lines 0 comments Download
M remoting/protocol/protobuf_video_writer.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M remoting/remoting.gyp View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Sergey Ulanov
In the next CL I'll do similar refactoring for the client side.
9 years, 1 month ago (2011-11-15 22:26:18 UTC) #1
Wez
http://codereview.chromium.org/8468022/diff/2001/remoting/protocol/host_control_dispatcher.cc File remoting/protocol/host_control_dispatcher.cc (right): http://codereview.chromium.org/8468022/diff/2001/remoting/protocol/host_control_dispatcher.cc#newcode7 remoting/protocol/host_control_dispatcher.cc:7: #include "remoting/protocol/buffered_socket_writer.h" This belongs after the remoting/proto/ includes? http://codereview.chromium.org/8468022/diff/2001/remoting/protocol/host_control_dispatcher.cc#newcode42 ...
9 years, 1 month ago (2011-11-17 02:03:40 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/8468022/diff/2001/remoting/protocol/host_control_dispatcher.cc File remoting/protocol/host_control_dispatcher.cc (right): http://codereview.chromium.org/8468022/diff/2001/remoting/protocol/host_control_dispatcher.cc#newcode7 remoting/protocol/host_control_dispatcher.cc:7: #include "remoting/protocol/buffered_socket_writer.h" On 2011/11/17 02:03:40, Wez wrote: > This ...
9 years, 1 month ago (2011-11-17 18:38:13 UTC) #3
Wez
LGTM with a few remaining nits. :) http://codereview.chromium.org/8468022/diff/10001/remoting/protocol/host_control_dispatcher.cc File remoting/protocol/host_control_dispatcher.cc (right): http://codereview.chromium.org/8468022/diff/10001/remoting/protocol/host_control_dispatcher.cc#newcode35 remoting/protocol/host_control_dispatcher.cc:35: // Write ...
9 years, 1 month ago (2011-11-17 22:25:15 UTC) #4
Wez
Oh, and the CL description needs updating to refer to HostEventDispatcher, not HostInputDispatcher.
9 years, 1 month ago (2011-11-17 22:26:16 UTC) #5
Sergey Ulanov
http://codereview.chromium.org/8468022/diff/10001/remoting/protocol/host_control_dispatcher.cc File remoting/protocol/host_control_dispatcher.cc (right): http://codereview.chromium.org/8468022/diff/10001/remoting/protocol/host_control_dispatcher.cc#newcode35 remoting/protocol/host_control_dispatcher.cc:35: // Write legacy BeginSession message. On 2011/11/17 22:25:16, Wez ...
9 years, 1 month ago (2011-11-17 22:41:39 UTC) #6
Sergey Ulanov
On 2011/11/17 22:26:16, Wez wrote: > Oh, and the CL description needs updating to refer ...
9 years, 1 month ago (2011-11-17 22:41:50 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/8468022/6002
9 years, 1 month ago (2011-11-17 22:42:02 UTC) #8
commit-bot: I haz the power
Commit queue failed due to new patchset.
9 years, 1 month ago (2011-11-17 23:57:58 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/8468022/9002
9 years, 1 month ago (2011-11-17 23:58:11 UTC) #10
commit-bot: I haz the power
9 years, 1 month ago (2011-11-18 01:31:45 UTC) #11
Change committed as 110625

Powered by Google App Engine
This is Rietveld 408576698