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

Issue 1494543002: Add counters for nonstandard uses of RTCPeerConnection (Closed)

Created:
5 years ago by Guido Urdaneta
Modified:
5 years ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, mlamouri+watch-blink_chromium.org, tommyw+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add counters for nonstandard uses of RTCPeerConnection BUG=564530 Committed: https://crrev.com/7a746bbf64928208672aadc0f3366011ae69c1b0 Cr-Commit-Position: refs/heads/master@{#363050}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Remove layout testing of deprecated features #

Patch Set 4 : Put some of the deprecated tests back in #

Total comments: 9

Patch Set 5 : Separate counters for setLocalDescription and setRemoteDescription #

Patch Set 6 : Remove warnings for cases that don't prevent the addition of promise-based methods #

Patch Set 7 : Remove all deprecation warnings and add counter for getStats #

Patch Set 8 : Fix compile error #

Patch Set 9 : Update histograms.xml #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -89 lines) Patch
M components/test_runner/mock_webrtc_peer_connection_handler.cc View 1 2 2 chunks +11 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html View 1 2 3 2 chunks +28 lines, -30 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html View 1 2 3 3 chunks +14 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer-expected.txt View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-expected.txt View 1 2 3 4 5 2 chunks +27 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 5 6 7 1 chunk +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp View 1 2 3 4 5 6 7 7 chunks +55 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl View 1 2 3 4 5 6 7 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp View 3 chunks +11 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebMediaConstraints.h View 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (11 generated)
Guido Urdaneta
Hi, PTAL Intent to deprecate thread: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/WderCH-rAaY
5 years ago (2015-12-02 13:18:49 UTC) #2
jochen (gone - plz use gerrit)
lgtm
5 years ago (2015-12-02 13:23:27 UTC) #3
Guido Urdaneta
On 2015/12/02 13:23:27, jochen wrote: > lgtm I removed some tests that involve deprecated features ...
5 years ago (2015-12-02 15:34:32 UTC) #5
jochen (gone - plz use gerrit)
still lgtm
5 years ago (2015-12-02 15:38:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1494543002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1494543002/40001
5 years ago (2015-12-02 16:04:55 UTC) #8
hta - Chromium
I am somewhat skeptical of removing the tests for a feature before we remove the ...
5 years ago (2015-12-02 16:24:11 UTC) #9
Guido Urdaneta
On 2015/12/02 16:24:11, hta - Chromium wrote: > I am somewhat skeptical of removing the ...
5 years ago (2015-12-02 16:36:27 UTC) #11
Guido Urdaneta
I put some of the deprecated tests back in.
5 years ago (2015-12-02 16:53:24 UTC) #12
hta - Chromium
lgtm If any of the tests make trouble or cost more to support in mocks ...
5 years ago (2015-12-02 17:06:48 UTC) #13
philipj_slow
https://codereview.chromium.org/1494543002/diff/60001/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp File third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp (right): https://codereview.chromium.org/1494543002/diff/60001/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp#newcode373 third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp:373: UseCounter::count(context, UseCounter::RTCPeerConnectionCreateOfferLegacyFailureCallback); Is it really useful to measure when ...
5 years ago (2015-12-02 20:28:12 UTC) #15
Guido Urdaneta
https://codereview.chromium.org/1494543002/diff/60001/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp File third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp (right): https://codereview.chromium.org/1494543002/diff/60001/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp#newcode373 third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp:373: UseCounter::count(context, UseCounter::RTCPeerConnectionCreateOfferLegacyFailureCallback); On 2015/12/02 20:28:12, philipj wrote: > Is ...
5 years ago (2015-12-03 10:51:34 UTC) #16
philipj_slow
Use counter logic LGTM, but let's discuss further on blink-dev how the deprecation should happen. ...
5 years ago (2015-12-03 11:25:58 UTC) #17
philipj_slow
Do you have an idea for getStats as well? It's the only problematic API in ...
5 years ago (2015-12-03 12:54:03 UTC) #18
blink-reviews
I've deferred thinking about GetStats until I'm finished with constraints.... and that's taking its time. ...
5 years ago (2015-12-03 14:06:22 UTC) #19
chromium-reviews
I've deferred thinking about GetStats until I'm finished with constraints.... and that's taking its time. ...
5 years ago (2015-12-03 14:06:23 UTC) #20
philipj_slow
On 2015/12/03 14:06:23, chromium-reviews wrote: > I've deferred thinking about GetStats until I'm finished with ...
5 years ago (2015-12-03 14:19:27 UTC) #21
Guido Urdaneta
I just removed all deprecation warnings so that we can start getting data ASAP. I ...
5 years ago (2015-12-03 16:02:12 UTC) #22
Guido Urdaneta
isherman@: please review changes to histograms.xml
5 years ago (2015-12-03 17:33:15 UTC) #25
Ilya Sherman
histograms.xml lgtm
5 years ago (2015-12-03 17:38:10 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1494543002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1494543002/160001
5 years ago (2015-12-03 19:43:05 UTC) #29
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years ago (2015-12-03 20:45:45 UTC) #31
commit-bot: I haz the power
5 years ago (2015-12-03 20:46:21 UTC) #33
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/7a746bbf64928208672aadc0f3366011ae69c1b0
Cr-Commit-Position: refs/heads/master@{#363050}

Powered by Google App Engine
This is Rietveld 408576698