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

Issue 2587133004: Reland of: Adding error output param to SetConfiguration, using new RTCError type. (Closed)

Created:
4 years ago by Taylor Brandstetter
Modified:
3 years, 11 months ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org, the sun, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Reland of: Adding error output param to SetConfiguration, using new RTCError type. Most notably, will return "INVALID_MODIFICATION" if a field in the configuration was modified and modification of that field isn't supported. Also changing RTCError to a class that wraps an enum type, because it will eventually need to hold other information (like SDP line number), to match the RTCError that was recently added to the spec: https://github.com/w3c/webrtc-pc/pull/850 BUG=webrtc:6916 Review-Url: https://codereview.webrtc.org/2587133004 Cr-Original-Commit-Position: refs/heads/master@{#15777} Committed: https://chromium.googlesource.com/external/webrtc/+/7a5fa6cd6173adbe32aedc1aedc872478121f5ed Review-Url: https://codereview.webrtc.org/2587133004 Cr-Commit-Position: refs/heads/master@{#16016} Committed: https://chromium.googlesource.com/external/webrtc/+/293e9263624185d63c8b232182730bac1bd166c3

Patch Set 1 #

Patch Set 2 : Removing leftover comments #

Total comments: 3

Patch Set 3 : Comment formatting. #

Total comments: 1

Patch Set 4 : Switched RtcError to a struct since eventually it will need information beyond just a type. #

Patch Set 5 : Adding old SetConfiguration signature so chromium mock PC keeps building. #

Patch Set 6 : Rebasing #

Patch Set 7 : Fixing compile warning. #

Patch Set 8 : Updating unit test. #

Patch Set 9 : Trying to fix compile warning. #

Patch Set 10 : Fixing compile error in less confusing way. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+475 lines, -130 lines) Patch
M webrtc/api/peerconnection.h View 1 2 3 4 5 6 7 8 9 3 chunks +20 lines, -8 lines 0 comments Download
M webrtc/api/peerconnection.cc View 1 2 3 4 5 18 chunks +188 lines, -61 lines 0 comments Download
M webrtc/api/peerconnection_unittest.cc View 1 2 3 4 5 6 7 8 chunks +30 lines, -19 lines 0 comments Download
M webrtc/api/peerconnectioninterface.h View 1 2 3 4 5 6 7 8 9 5 chunks +54 lines, -6 lines 0 comments Download
M webrtc/api/peerconnectioninterface_unittest.cc View 1 2 3 4 5 26 chunks +165 lines, -36 lines 0 comments Download
M webrtc/api/peerconnectionproxy.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/media/base/mediachannel.h View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (16 generated)
Taylor Brandstetter
https://codereview.webrtc.org/2587133004/diff/20001/webrtc/api/peerconnection.cc File webrtc/api/peerconnection.cc (right): https://codereview.webrtc.org/2587133004/diff/20001/webrtc/api/peerconnection.cc#newcode504 webrtc/api/peerconnection.cc:504: "update operator==?"); This may seem like overkill, but I ...
4 years ago (2016-12-20 02:04:39 UTC) #1
Taylor Brandstetter
PTAL Peter. I may replace the enum output parameter with a struct (see email thread ...
4 years ago (2016-12-20 02:05:59 UTC) #3
pthatcher1
lgtm https://codereview.webrtc.org/2587133004/diff/40001/webrtc/api/peerconnection.cc File webrtc/api/peerconnection.cc (right): https://codereview.webrtc.org/2587133004/diff/40001/webrtc/api/peerconnection.cc#newcode1399 webrtc/api/peerconnection.cc:1399: // support modifying than those we do, and ...
4 years ago (2016-12-21 00:57:24 UTC) #4
Taylor Brandstetter
I changed RTCError to a struct instead of an enum, and called the enum RTCErrorType. ...
4 years ago (2016-12-21 02:24:39 UTC) #6
Taylor Brandstetter
ping
4 years ago (2016-12-22 04:59:12 UTC) #7
pthatcher1
I'd prefer RtcError over RTCError, but otherwise this seems good.
4 years ago (2016-12-22 23:49:10 UTC) #8
pthatcher1
lgtm I'd prefer RtcError over RTCError, but otherwise this seems good.
4 years ago (2016-12-22 23:49:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2587133004/60001
3 years, 12 months ago (2016-12-24 07:53:00 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/external/webrtc/+/7a5fa6cd6173adbe32aedc1aedc872478121f5ed
3 years, 12 months ago (2016-12-24 08:48:04 UTC) #14
Taylor Brandstetter
This broke the FYI bots but I'm going to fix really quickly, so don't revert.
3 years, 12 months ago (2016-12-24 09:35:54 UTC) #15
Taylor Brandstetter
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.webrtc.org/2600813002/ by deadbeef@webrtc.org. ...
3 years, 12 months ago (2016-12-24 09:43:22 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2587133004/100001
3 years, 11 months ago (2017-01-10 17:40:36 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x86_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x86_dbg/builds/10285)
3 years, 11 months ago (2017-01-10 17:47:26 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2587133004/120001
3 years, 11 months ago (2017-01-10 19:52:13 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x64_dbg/builds/10384) android_compile_x86_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 11 months ago (2017-01-10 19:59:23 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2587133004/180001
3 years, 11 months ago (2017-01-11 19:40:55 UTC) #30
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 20:28:36 UTC) #33
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/external/webrtc/+/293e9263624185d63c8b23218...

Powered by Google App Engine
This is Rietveld 408576698