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

Issue 10831022: Skip unknown channel configurations when parsing session config. (Closed)

Created:
8 years, 5 months ago by Sergey Ulanov
Modified:
8 years, 5 months ago
Reviewers:
simonmorris
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

Skip unknown channel configurations when parsing session config. We may need to add new transport types in the future. Current config parsing code fails to parse configs with transport types it doesn't understand which will make it hard to add new transport type without breaking backward compatibility. BUG=137135 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148679

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -35 lines) Patch
M remoting/protocol/content_description.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M remoting/protocol/content_description.cc View 1 2 2 chunks +26 lines, -33 lines 0 comments Download
A remoting/protocol/content_description_unittest.cc View 1 1 chunk +62 lines, -0 lines 0 comments Download
M remoting/protocol/jingle_messages.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/remoting.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Sergey Ulanov
8 years, 5 months ago (2012-07-26 00:47:58 UTC) #1
simonmorris
http://codereview.chromium.org/10831022/diff/1/remoting/protocol/content_description.cc File remoting/protocol/content_description.cc (right): http://codereview.chromium.org/10831022/diff/1/remoting/protocol/content_description.cc#newcode240 remoting/protocol/content_description.cc:240: child = child->NextNamed(tag); The loop will go infinite if ...
8 years, 5 months ago (2012-07-26 16:11:06 UTC) #2
Sergey Ulanov
Added unittests for this code http://codereview.chromium.org/10831022/diff/1/remoting/protocol/content_description.cc File remoting/protocol/content_description.cc (right): http://codereview.chromium.org/10831022/diff/1/remoting/protocol/content_description.cc#newcode240 remoting/protocol/content_description.cc:240: child = child->NextNamed(tag); On ...
8 years, 5 months ago (2012-07-26 22:54:45 UTC) #3
simonmorris
lgtm with optional suggestions. http://codereview.chromium.org/10831022/diff/4001/remoting/protocol/content_description.cc File remoting/protocol/content_description.cc (right): http://codereview.chromium.org/10831022/diff/4001/remoting/protocol/content_description.cc#newcode262 remoting/protocol/content_description.cc:262: const XmlElement* child = NULL; ...
8 years, 5 months ago (2012-07-26 23:08:50 UTC) #4
Sergey Ulanov
http://codereview.chromium.org/10831022/diff/4001/remoting/protocol/content_description.cc File remoting/protocol/content_description.cc (right): http://codereview.chromium.org/10831022/diff/4001/remoting/protocol/content_description.cc#newcode262 remoting/protocol/content_description.cc:262: const XmlElement* child = NULL; On 2012/07/26 23:08:51, simonmorris ...
8 years, 5 months ago (2012-07-26 23:34:13 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/10831022/9001
8 years, 5 months ago (2012-07-26 23:34:27 UTC) #6
commit-bot: I haz the power
8 years, 5 months ago (2012-07-27 00:54:45 UTC) #7
Change committed as 148679

Powered by Google App Engine
This is Rietveld 408576698