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

Issue 10834446: Improve handling of NONE transport in channel configuration. (Closed)

Created:
8 years, 4 months ago by Sergey Ulanov
Modified:
8 years, 4 months ago
Reviewers:
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, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Improve handling of NONE transport in channel configuration. Previously the session description parser always expected version and codec attributes for each channel config. These attributes do not make sense for NONE transport (i.e. when channel is disabled). Now the parser accepts configs without these attributes and doesn't add them when formatting outgoing messages. BUG=144053 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152720

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -32 lines) Patch
M remoting/host/chromoting_host.cc View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M remoting/protocol/content_description.cc View 1 2 3 4 5 3 chunks +24 lines, -14 lines 0 comments Download
M remoting/protocol/content_description_unittest.cc View 1 2 3 4 2 chunks +41 lines, -1 line 0 comments Download
M remoting/protocol/session_config.h View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M remoting/protocol/session_config.cc View 1 2 3 4 5 3 chunks +8 lines, -12 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Sergey Ulanov
8 years, 4 months ago (2012-08-21 23:45:01 UTC) #1
Wez
http://codereview.chromium.org/10834446/diff/2001/remoting/protocol/content_description.cc File remoting/protocol/content_description.cc (right): http://codereview.chromium.org/10834446/diff/2001/remoting/protocol/content_description.cc#newcode69 remoting/protocol/content_description.cc:69: // crbug.com/144053 The codec case explicitly checks for CODEC_UNDEFINED ...
8 years, 4 months ago (2012-08-22 00:08:30 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/10834446/diff/2001/remoting/protocol/content_description.cc File remoting/protocol/content_description.cc (right): http://codereview.chromium.org/10834446/diff/2001/remoting/protocol/content_description.cc#newcode69 remoting/protocol/content_description.cc:69: // crbug.com/144053 On 2012/08/22 00:08:30, Wez wrote: > The ...
8 years, 4 months ago (2012-08-22 00:18:27 UTC) #3
Wez
LGTM w/ nits. http://codereview.chromium.org/10834446/diff/2001/remoting/protocol/content_description.cc File remoting/protocol/content_description.cc (right): http://codereview.chromium.org/10834446/diff/2001/remoting/protocol/content_description.cc#newcode102 remoting/protocol/content_description.cc:102: if (codec_required && config->transport != ChannelConfig::TRANSPORT_NONE) ...
8 years, 4 months ago (2012-08-22 00:26:54 UTC) #4
Sergey Ulanov
http://codereview.chromium.org/10834446/diff/2001/remoting/protocol/content_description.cc File remoting/protocol/content_description.cc (right): http://codereview.chromium.org/10834446/diff/2001/remoting/protocol/content_description.cc#newcode102 remoting/protocol/content_description.cc:102: if (codec_required && config->transport != ChannelConfig::TRANSPORT_NONE) { On 2012/08/22 ...
8 years, 4 months ago (2012-08-22 00:37:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/10834446/1008
8 years, 4 months ago (2012-08-22 01:28:48 UTC) #6
commit-bot: I haz the power
8 years, 4 months ago (2012-08-22 03:00:52 UTC) #7
Try job failure for 10834446-1008 (retry) on win for step "compile" (clobber
build).
It's a second try, previously, step "compile" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number...

Powered by Google App Engine
This is Rietveld 408576698