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

Issue 1729683002: Remove old-style constraints from Chrome internals (Closed)

Created:
4 years, 10 months ago by hta - Chromium
Modified:
4 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove all usage of "string=string" constraints in Chrome. This removes the RTCMediaConstraints class (used to send string constraints to WebRTC) and the "string=string" accessors in WebMediaConstraints.h. BUG=webrtc:4096 Committed: https://crrev.com/0a83ae755599515e677e12b78cfa07d798af705b Cr-Commit-Position: refs/heads/master@{#381236}

Patch Set 1 : CL ready to submit #

Total comments: 20

Patch Set 2 : Review comments #

Patch Set 3 : Complete the interface change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+560 lines, -984 lines) Patch
M components/test_runner/mock_webrtc_peer_connection_handler.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M components/test_runner/mock_webrtc_peer_connection_handler.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M content/content_renderer.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/media/media_stream_audio_processor.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/media/media_stream_audio_processor_options.h View 1 3 chunks +8 lines, -7 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor_options.cc View 1 2 chunks +20 lines, -15 lines 0 comments Download
M content/renderer/media/media_stream_constraints_util.h View 5 chunks +23 lines, -49 lines 0 comments Download
M content/renderer/media/media_stream_constraints_util.cc View 1 chunk +91 lines, -91 lines 0 comments Download
M content/renderer/media/media_stream_constraints_util_unittest.cc View 2 chunks +43 lines, -94 lines 0 comments Download
M content/renderer/media/media_stream_video_capturer_source.cc View 4 chunks +15 lines, -19 lines 0 comments Download
M content/renderer/media/media_stream_video_capturer_source_unittest.cc View 7 chunks +16 lines, -52 lines 0 comments Download
M content/renderer/media/mock_constraint_factory.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/media/mock_constraint_factory.cc View 1 chunk +5 lines, -0 lines 0 comments Download
D content/renderer/media/mock_media_constraint_factory.h View 1 chunk +0 lines, -38 lines 0 comments Download
D content/renderer/media/mock_media_constraint_factory.cc View 1 chunk +0 lines, -109 lines 0 comments Download
M content/renderer/media/mock_peer_connection_impl.h View 2 chunks +5 lines, -8 lines 0 comments Download
M content/renderer/media/mock_peer_connection_impl.cc View 4 chunks +3 lines, -6 lines 0 comments Download
M content/renderer/media/peer_connection_tracker.h View 1 2 chunks +1 line, -3 lines 0 comments Download
M content/renderer/media/peer_connection_tracker.cc View 1 2 chunks +3 lines, -5 lines 0 comments Download
M content/renderer/media/peer_connection_tracker_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
D content/renderer/media/rtc_media_constraints.h View 1 chunk +0 lines, -51 lines 0 comments Download
D content/renderer/media/rtc_media_constraints.cc View 1 chunk +0 lines, -107 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler.h View 1 4 chunks +11 lines, -7 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler.cc View 1 10 chunks +140 lines, -41 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler_unittest.cc View 1 4 chunks +5 lines, -7 lines 0 comments Download
M content/renderer/media/user_media_client_impl.cc View 2 chunks +12 lines, -23 lines 0 comments Download
M content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc View 1 2 chunks +7 lines, -15 lines 0 comments Download
M content/renderer/media/webrtc/mock_peer_connection_dependency_factory.h View 4 chunks +3 lines, -17 lines 0 comments Download
M content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc View 4 chunks +6 lines, -11 lines 0 comments Download
M content/renderer/media/webrtc/peer_connection_dependency_factory.h View 4 chunks +3 lines, -7 lines 0 comments Download
M content/renderer/media/webrtc/peer_connection_dependency_factory.cc View 10 chunks +54 lines, -63 lines 0 comments Download
M content/test/data/media/peerconnection-call.html View 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/data/media/webrtc_test_utilities.js View 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaConstraintsImpl.cpp View 5 chunks +51 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp View 5 chunks +9 lines, -92 lines 0 comments Download
M third_party/WebKit/public/platform/WebMediaConstraints.h View 7 chunks +9 lines, -29 lines 0 comments Download
M third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 38 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729683002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729683002/40001
4 years, 9 months ago (2016-03-04 15:43:29 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/176596)
4 years, 9 months ago (2016-03-04 16:16:53 UTC) #4
Guido Urdaneta
Not finished yet with all the files, but here's a comment. https://codereview.chromium.org/1729683002/diff/60001/content/renderer/media/media_stream_audio_processor_options.cc File content/renderer/media/media_stream_audio_processor_options.cc (right): ...
4 years, 9 months ago (2016-03-11 14:53:30 UTC) #10
hta - Chromium
Replied to comment (yes, reading code with rtc::optional can be a bit confusing until you ...
4 years, 9 months ago (2016-03-11 15:06:44 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729683002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729683002/60001
4 years, 9 months ago (2016-03-12 06:05:22 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-12 09:01:25 UTC) #15
Guido Urdaneta
https://codereview.chromium.org/1729683002/diff/60001/content/renderer/media/rtc_peer_connection_handler.cc File content/renderer/media/rtc_peer_connection_handler.cc (right): https://codereview.chromium.org/1729683002/diff/60001/content/renderer/media/rtc_peer_connection_handler.cc#newcode939 content/renderer/media/rtc_peer_connection_handler.cc:939: // TODO(hta): Reject the calling operation with "constraint error" ...
4 years, 9 months ago (2016-03-14 16:28:21 UTC) #17
tommi (sloooow) - chröme
great stuff! Since we seem to be adding a dependency on a cricket:: type, I ...
4 years, 9 months ago (2016-03-14 18:37:47 UTC) #18
hta - Chromium
All comments addressed, I think. I think we don't have a suitable record to replace ...
4 years, 9 months ago (2016-03-15 06:47:33 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729683002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729683002/80001
4 years, 9 months ago (2016-03-15 06:47:56 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/173323)
4 years, 9 months ago (2016-03-15 06:59:28 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729683002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729683002/100001
4 years, 9 months ago (2016-03-15 07:19:39 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-15 09:03:56 UTC) #28
Guido Urdaneta
lgtm
4 years, 9 months ago (2016-03-15 09:56:02 UTC) #29
jochen (gone - plz use gerrit)
lgtm
4 years, 9 months ago (2016-03-15 15:28:14 UTC) #30
jochen (gone - plz use gerrit)
lgtm
4 years, 9 months ago (2016-03-15 15:28:22 UTC) #31
tommi (sloooow) - chröme
lgtm. I'll take a look at the localaudiosource stuff in webrtc later.
4 years, 9 months ago (2016-03-15 16:57:43 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729683002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729683002/100001
4 years, 9 months ago (2016-03-15 16:59:08 UTC) #34
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 9 months ago (2016-03-15 17:04:28 UTC) #36
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 17:05:37 UTC) #38
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0a83ae755599515e677e12b78cfa07d798af705b
Cr-Commit-Position: refs/heads/master@{#381236}

Powered by Google App Engine
This is Rietveld 408576698