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

Issue 9646013: Add the plumbing that will carry a clipboard item from a chromoting client to a host. (Closed)

Created:
8 years, 9 months ago by simonmorris
Modified:
8 years, 9 months ago
Reviewers:
Sergey Ulanov, garykac, Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, dcheng, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Add the plumbing that will carry a clipboard item from a chromoting client to a host. BUG=117473 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=127195

Patch Set 1 #

Total comments: 14

Patch Set 2 : Improve a comment. #

Total comments: 2

Patch Set 3 : Move clipboard events to the control channel. #

Total comments: 18

Patch Set 4 : Tweak names and comments. #

Patch Set 5 : Sync, and make InputStub inherit from ClipboardStub. #

Total comments: 12

Patch Set 6 : Refactor InputStub, ClipboardStub, and HostEventStub. #

Total comments: 6

Patch Set 7 : Replace separate ClipboardStub and InputStub parameters with a single HostEventStub parameter. #

Patch Set 8 : Sync. #

Patch Set 9 : Fix remoting_simple_host. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+307 lines, -66 lines) Patch
M remoting/base/constants.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/base/constants.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/client_session.h View 1 2 3 4 5 6 4 chunks +12 lines, -7 lines 0 comments Download
M remoting/host/client_session.cc View 1 2 3 4 5 6 6 chunks +16 lines, -6 lines 0 comments Download
M remoting/host/client_session_unittest.cc View 1 2 3 4 5 6 8 chunks +48 lines, -12 lines 0 comments Download
M remoting/host/desktop_environment.h View 1 2 3 4 5 3 chunks +8 lines, -6 lines 0 comments Download
M remoting/host/desktop_environment.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M remoting/host/event_executor.h View 1 2 3 4 5 2 chunks +4 lines, -5 lines 0 comments Download
M remoting/host/event_executor_linux.cc View 1 2 3 4 5 4 chunks +14 lines, -4 lines 0 comments Download
M remoting/host/event_executor_mac.cc View 1 2 3 4 5 4 chunks +13 lines, -4 lines 0 comments Download
M remoting/host/event_executor_win.cc View 1 2 3 4 5 6 7 4 chunks +13 lines, -4 lines 0 comments Download
M remoting/host/host_mock_objects.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/host/simple_host_process.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M remoting/proto/event.proto View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M remoting/proto/internal.proto View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M remoting/protocol/client_control_dispatcher.h View 1 2 2 chunks +9 lines, -3 lines 0 comments Download
M remoting/protocol/client_control_dispatcher.cc View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
A remoting/protocol/clipboard_stub.h View 1 chunk +32 lines, -0 lines 0 comments Download
M remoting/protocol/connection_to_client.h View 3 chunks +4 lines, -1 line 0 comments Download
M remoting/protocol/connection_to_client.cc View 1 2 4 chunks +9 lines, -0 lines 0 comments Download
M remoting/protocol/connection_to_client_unittest.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M remoting/protocol/host_control_dispatcher.h View 1 2 3 2 chunks +11 lines, -2 lines 0 comments Download
M remoting/protocol/host_control_dispatcher.cc View 1 2 3 chunks +11 lines, -2 lines 0 comments Download
A remoting/protocol/host_event_stub.h View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
M remoting/protocol/input_stub.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.h View 1 2 3 4 5 6 3 chunks +26 lines, -0 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.cc View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
simonmorris
PTAL
8 years, 9 months ago (2012-03-09 00:04:36 UTC) #1
Sergey Ulanov
http://codereview.chromium.org/9646013/diff/1/remoting/protocol/clipboard_stub.h File remoting/protocol/clipboard_stub.h (right): http://codereview.chromium.org/9646013/diff/1/remoting/protocol/clipboard_stub.h#newcode18 remoting/protocol/clipboard_stub.h:18: class ClipboardStub { Do we need separate stub for ...
8 years, 9 months ago (2012-03-09 00:23:40 UTC) #2
Wez
http://codereview.chromium.org/9646013/diff/1/remoting/proto/event.proto File remoting/proto/event.proto (right): http://codereview.chromium.org/9646013/diff/1/remoting/proto/event.proto#newcode52 remoting/proto/event.proto:52: // Defines an event that sends data from one ...
8 years, 9 months ago (2012-03-09 00:34:00 UTC) #3
simonmorris
http://codereview.chromium.org/9646013/diff/1/remoting/protocol/clipboard_stub.h File remoting/protocol/clipboard_stub.h (right): http://codereview.chromium.org/9646013/diff/1/remoting/protocol/clipboard_stub.h#newcode18 remoting/protocol/clipboard_stub.h:18: class ClipboardStub { On 2012/03/09 00:23:41, sergeyu wrote: > ...
8 years, 9 months ago (2012-03-09 00:34:14 UTC) #4
Wez
http://codereview.chromium.org/9646013/diff/1/remoting/proto/event.proto File remoting/proto/event.proto (right): http://codereview.chromium.org/9646013/diff/1/remoting/proto/event.proto#newcode54 remoting/proto/event.proto:54: message ClipboardEvent { We probably want clipboard data on ...
8 years, 9 months ago (2012-03-09 00:44:07 UTC) #5
simonmorris
http://codereview.chromium.org/9646013/diff/1/remoting/proto/event.proto File remoting/proto/event.proto (right): http://codereview.chromium.org/9646013/diff/1/remoting/proto/event.proto#newcode52 remoting/proto/event.proto:52: // Defines an event that sends data from one ...
8 years, 9 months ago (2012-03-09 00:44:46 UTC) #6
garykac
http://codereview.chromium.org/9646013/diff/1026/remoting/proto/event.proto File remoting/proto/event.proto (right): http://codereview.chromium.org/9646013/diff/1026/remoting/proto/event.proto#newcode57 remoting/proto/event.proto:57: DATA_TYPE_TEXT_UTF8 = 0; Is the UTF8 suffix redundant or ...
8 years, 9 months ago (2012-03-09 00:51:19 UTC) #7
simonmorris
http://codereview.chromium.org/9646013/diff/1026/remoting/proto/event.proto File remoting/proto/event.proto (right): http://codereview.chromium.org/9646013/diff/1026/remoting/proto/event.proto#newcode57 remoting/proto/event.proto:57: DATA_TYPE_TEXT_UTF8 = 0; On 2012/03/09 00:51:19, garykac wrote: > ...
8 years, 9 months ago (2012-03-09 00:53:24 UTC) #8
Wez
http://codereview.chromium.org/9646013/diff/1/remoting/proto/event.proto File remoting/proto/event.proto (right): http://codereview.chromium.org/9646013/diff/1/remoting/proto/event.proto#newcode58 remoting/proto/event.proto:58: DATA_TYPE_TEXT_UTF8 = 0; On 2012/03/09 00:44:47, simonmorris wrote: > ...
8 years, 9 months ago (2012-03-09 01:12:40 UTC) #9
simonmorris
On 2012/03/09 00:44:07, Wez wrote: > http://codereview.chromium.org/9646013/diff/1/remoting/proto/event.proto > File remoting/proto/event.proto (right): > > http://codereview.chromium.org/9646013/diff/1/remoting/proto/event.proto#newcode54 > ...
8 years, 9 months ago (2012-03-10 01:16:47 UTC) #10
Sergey Ulanov
On 2012/03/10 01:16:47, simonmorris wrote: > > We'll have a keyboard-event-specific reliability protocol when we ...
8 years, 9 months ago (2012-03-12 19:00:01 UTC) #11
simonmorris
On 2012/03/12 19:00:01, sergeyu wrote: > On 2012/03/10 01:16:47, simonmorris wrote: > > > We'll ...
8 years, 9 months ago (2012-03-12 19:14:44 UTC) #12
simonmorris
The clipboard events are now on the control channel. PTAL
8 years, 9 months ago (2012-03-12 23:51:12 UTC) #13
simonmorris
ping
8 years, 9 months ago (2012-03-14 01:17:22 UTC) #14
simonmorris
ping
8 years, 9 months ago (2012-03-14 18:47:39 UTC) #15
Sergey Ulanov
LGTM with some nits. http://codereview.chromium.org/9646013/diff/9002/remoting/host/client_session.cc File remoting/host/client_session.cc (right): http://codereview.chromium.org/9646013/diff/9002/remoting/host/client_session.cc#newcode25 remoting/host/client_session.cc:25: using protocol::ClipboardEvent; There is only ...
8 years, 9 months ago (2012-03-14 20:27:07 UTC) #16
Wez
http://codereview.chromium.org/9646013/diff/9002/remoting/proto/event.proto File remoting/proto/event.proto (right): http://codereview.chromium.org/9646013/diff/9002/remoting/proto/event.proto#newcode53 remoting/proto/event.proto:53: message ClipboardEvent { I thought that we had agreed ...
8 years, 9 months ago (2012-03-14 20:40:56 UTC) #17
Wez
lgtm
8 years, 9 months ago (2012-03-14 20:45:39 UTC) #18
simonmorris
http://codereview.chromium.org/9646013/diff/9002/remoting/host/client_session.cc File remoting/host/client_session.cc (right): http://codereview.chromium.org/9646013/diff/9002/remoting/host/client_session.cc#newcode25 remoting/host/client_session.cc:25: using protocol::ClipboardEvent; On 2012/03/14 20:27:07, sergeyu wrote: > There ...
8 years, 9 months ago (2012-03-14 21:20:21 UTC) #19
simonmorris
wez@, ptal at the ClipboardStub/InputStub refactoring in this patch set.
8 years, 9 months ago (2012-03-15 00:36:20 UTC) #20
Wez
This looks good but while InputStub derives from ClipboardStub I don't think there's much value ...
8 years, 9 months ago (2012-03-15 01:14:44 UTC) #21
simonmorris
I've refactored so that, instead of InputStub inheriting from ClipboardStub, there's a new HostEventStub that ...
8 years, 9 months ago (2012-03-15 16:53:19 UTC) #22
Wez
LGTM, but the addition of HostEventStub means you can avoid splitting the interfaces passed to ...
8 years, 9 months ago (2012-03-15 20:37:18 UTC) #23
simonmorris
http://codereview.chromium.org/9646013/diff/14006/remoting/host/client_session.h File remoting/host/client_session.h (right): http://codereview.chromium.org/9646013/diff/14006/remoting/host/client_session.h#newcode25 remoting/host/client_session.h:25: class ClientSession : public protocol::ClipboardStub, On 2012/03/15 20:37:19, Wez ...
8 years, 9 months ago (2012-03-15 21:49:30 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonmorris@chromium.org/9646013/14010
8 years, 9 months ago (2012-03-15 23:10:20 UTC) #25
commit-bot: I haz the power
Try job failure for 9646013-14010 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 9 months ago (2012-03-16 01:23:45 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonmorris@chromium.org/9646013/11073
8 years, 9 months ago (2012-03-16 15:46:26 UTC) #27
commit-bot: I haz the power
8 years, 9 months ago (2012-03-16 17:28:05 UTC) #28
Change committed as 127195

Powered by Google App Engine
This is Rietveld 408576698