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

Issue 7508044: Remove video_channel() from Session interface (Closed)

Created:
9 years, 4 months ago by Sergey Ulanov
Modified:
9 years, 4 months ago
Reviewers:
Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, Paweł Hajdan Jr., dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Remove video_channel() from Session interface BUG=None TEST=Unittests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96089 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96301

Patch Set 1 #

Patch Set 2 : - #

Patch Set 3 : - #

Total comments: 16

Patch Set 4 : - #

Patch Set 5 : - #

Patch Set 6 : - #

Total comments: 4

Patch Set 7 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+609 lines, -242 lines) Patch
M remoting/base/constants.h View 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/base/constants.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/protocol/buffered_socket_writer.h View 1 chunk +2 lines, -1 line 0 comments Download
M remoting/protocol/connection_to_client.h View 1 2 3 4 5 6 2 chunks +20 lines, -11 lines 0 comments Download
M remoting/protocol/connection_to_client.cc View 1 2 3 4 5 6 3 chunks +42 lines, -8 lines 0 comments Download
M remoting/protocol/connection_to_client_unittest.cc View 1 2 3 4 5 3 chunks +6 lines, -1 line 0 comments Download
M remoting/protocol/connection_to_host.h View 1 2 3 4 5 6 2 chunks +24 lines, -25 lines 0 comments Download
M remoting/protocol/connection_to_host.cc View 1 2 3 4 5 6 4 chunks +43 lines, -8 lines 0 comments Download
M remoting/protocol/fake_session.h View 9 chunks +33 lines, -8 lines 0 comments Download
M remoting/protocol/fake_session.cc View 3 chunks +77 lines, -18 lines 0 comments Download
M remoting/protocol/jingle_session.h View 2 chunks +0 lines, -4 lines 0 comments Download
M remoting/protocol/jingle_session.cc View 1 2 3 4 5 8 chunks +6 lines, -31 lines 0 comments Download
M remoting/protocol/jingle_session_unittest.cc View 1 2 3 4 5 18 chunks +102 lines, -85 lines 0 comments Download
M remoting/protocol/protobuf_video_reader.h View 2 chunks +15 lines, -2 lines 0 comments Download
M remoting/protocol/protobuf_video_reader.cc View 1 2 3 4 2 chunks +24 lines, -4 lines 0 comments Download
M remoting/protocol/protobuf_video_writer.h View 3 chunks +16 lines, -1 line 0 comments Download
M remoting/protocol/protobuf_video_writer.cc View 1 2 3 4 2 chunks +27 lines, -3 lines 0 comments Download
M remoting/protocol/rtp_video_reader.h View 5 chunks +14 lines, -1 line 0 comments Download
M remoting/protocol/rtp_video_reader.cc View 1 2 3 3 chunks +44 lines, -5 lines 0 comments Download
M remoting/protocol/rtp_video_reader_unittest.cc View 2 chunks +8 lines, -1 line 0 comments Download
M remoting/protocol/rtp_video_writer.h View 3 chunks +10 lines, -1 line 0 comments Download
M remoting/protocol/rtp_video_writer.cc View 1 2 3 2 chunks +43 lines, -3 lines 0 comments Download
M remoting/protocol/rtp_video_writer_unittest.cc View 3 chunks +10 lines, -2 lines 0 comments Download
M remoting/protocol/session.h View 1 2 3 4 5 2 chunks +14 lines, -3 lines 0 comments Download
M remoting/protocol/video_reader.h View 1 2 3 4 5 2 chunks +7 lines, -2 lines 0 comments Download
M remoting/protocol/video_writer.h View 1 2 3 4 5 3 chunks +7 lines, -2 lines 0 comments Download
M tools/valgrind/gtest_exclude/remoting_unittests.gtest-drmemory_win32.txt View 1 1 chunk +2 lines, -4 lines 0 comments Download
M tools/valgrind/gtest_exclude/remoting_unittests.gtest-tsan.txt View 1 1 chunk +2 lines, -4 lines 0 comments Download
M tools/valgrind/gtest_exclude/remoting_unittests.gtest-tsan_win32.txt View 1 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Sergey Ulanov
9 years, 4 months ago (2011-08-04 00:25:08 UTC) #1
Wez
The copyright years need updating, and I have a few comments (below). Otherwise LGTM! http://codereview.chromium.org/7508044/diff/29/remoting/protocol/jingle_session_unittest.cc ...
9 years, 4 months ago (2011-08-04 23:49:52 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/7508044/diff/29/remoting/protocol/jingle_session_unittest.cc File remoting/protocol/jingle_session_unittest.cc (right): http://codereview.chromium.org/7508044/diff/29/remoting/protocol/jingle_session_unittest.cc#newcode573 remoting/protocol/jingle_session_unittest.cc:573: socket_1_ = socket; On 2011/08/04 23:49:52, Wez wrote: > ...
9 years, 4 months ago (2011-08-09 19:41:10 UTC) #3
Wez
LGTM
9 years, 4 months ago (2011-08-09 19:47:40 UTC) #4
Sergey Ulanov
PTAL: I've added new session state: CONNECTED_CHANNELS, so now it is possible to create all ...
9 years, 4 months ago (2011-08-10 18:42:14 UTC) #5
Wez
LGTM http://codereview.chromium.org/7508044/diff/15001/remoting/protocol/connection_to_host.cc File remoting/protocol/connection_to_host.cc (right): http://codereview.chromium.org/7508044/diff/15001/remoting/protocol/connection_to_host.cc#newcode227 remoting/protocol/connection_to_host.cc:227: event_callback_->OnConnectionOpened(this); Move this into a separate NotifyIfChannelsReady() or ...
9 years, 4 months ago (2011-08-10 23:36:52 UTC) #6
Sergey Ulanov
9 years, 4 months ago (2011-08-11 00:33:47 UTC) #7
http://codereview.chromium.org/7508044/diff/15001/remoting/protocol/connectio...
File remoting/protocol/connection_to_host.cc (right):

http://codereview.chromium.org/7508044/diff/15001/remoting/protocol/connectio...
remoting/protocol/connection_to_host.cc:227:
event_callback_->OnConnectionOpened(this);
On 2011/08/10 23:36:52, Wez wrote:
> Move this into a separate NotifyIfChannelsReady() or somthing like that, which
> checks for all three being connected?

Done.

http://codereview.chromium.org/7508044/diff/15001/remoting/protocol/jingle_se...
File remoting/protocol/jingle_session.cc (right):

http://codereview.chromium.org/7508044/diff/15001/remoting/protocol/jingle_se...
remoting/protocol/jingle_session.cc:438: SetState(CONNECTED);
On 2011/08/10 23:36:52, Wez wrote:
> From the caller's point of view, this isn't "connected", since there are no
> channels; it could be "preparing_channels" or "channel_setup" or something
like
> that?

I will remove CONNECTED_CHANNELS state later when I remove control/event
channels from Session interface. After that the CONNECTED state will make sense.

Powered by Google App Engine
This is Rietveld 408576698