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

Issue 465153003: Close all active PeerConnections upon OS suspend (Closed)

Created:
6 years, 4 months ago by vrk (LEFT CHROMIUM)
Modified:
6 years, 4 months ago
Reviewers:
jiayl, juberti2, nasko
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org, pthatcher1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Close all active PeerConnections upon OS suspend BUG=403618 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290125

Patch Set 1 : #

Patch Set 2 : null check for powermonitor #

Total comments: 4

Patch Set 3 : response to code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -4 lines) Patch
M content/browser/renderer_host/media/peer_connection_tracker_host.h View 3 chunks +9 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/peer_connection_tracker_host.cc View 1 2 3 chunks +17 lines, -1 line 0 comments Download
M content/common/media/peer_connection_tracker_messages.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/peer_connection_tracker.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/media/peer_connection_tracker.cc View 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
vrk (LEFT CHROMIUM)
6 years, 4 months ago (2014-08-14 01:18:22 UTC) #1
vrk (LEFT CHROMIUM)
This uses PeerConnectionTracker/Host to handle communication between browser process and RTCPeerConnectionHandler in addition to WebRTCInternals ...
6 years, 4 months ago (2014-08-14 01:22:54 UTC) #2
jiayl
LG overall. The only thing is that the blink state will not be updated: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp&rcl=1407928291&l=609 ...
6 years, 4 months ago (2014-08-14 16:57:41 UTC) #3
vrk (LEFT CHROMIUM)
On 2014/08/14 16:57:41, jiayl wrote: > LG overall. The only thing is that the blink ...
6 years, 4 months ago (2014-08-15 00:22:00 UTC) #4
juberti2
lgtm for me as well. I think it's important to update blink state, or else ...
6 years, 4 months ago (2014-08-15 00:33:06 UTC) #5
jiayl
lgtm.
6 years, 4 months ago (2014-08-15 16:14:13 UTC) #6
vrk (LEFT CHROMIUM)
+nasko security OWNERS content/common/media/peer_connection_tracker_messages.h
6 years, 4 months ago (2014-08-15 17:08:42 UTC) #7
nasko
IPC LGTM and a couple of comments. https://codereview.chromium.org/465153003/diff/40001/content/browser/renderer_host/media/peer_connection_tracker_host.cc File content/browser/renderer_host/media/peer_connection_tracker_host.cc (right): https://codereview.chromium.org/465153003/diff/40001/content/browser/renderer_host/media/peer_connection_tracker_host.cc#newcode44 content/browser/renderer_host/media/peer_connection_tracker_host.cc:44: void PeerConnectionTrackerHost::OnSuspend() ...
6 years, 4 months ago (2014-08-15 19:14:19 UTC) #8
vrk (LEFT CHROMIUM)
Thanks for the reviews! https://codereview.chromium.org/465153003/diff/40001/content/browser/renderer_host/media/peer_connection_tracker_host.cc File content/browser/renderer_host/media/peer_connection_tracker_host.cc (right): https://codereview.chromium.org/465153003/diff/40001/content/browser/renderer_host/media/peer_connection_tracker_host.cc#newcode44 content/browser/renderer_host/media/peer_connection_tracker_host.cc:44: void PeerConnectionTrackerHost::OnSuspend() { On 2014/08/15 ...
6 years, 4 months ago (2014-08-15 23:35:26 UTC) #9
vrk (LEFT CHROMIUM)
The CQ bit was checked by vrk@chromium.org
6 years, 4 months ago (2014-08-15 23:35:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vrk@chromium.org/465153003/60001
6 years, 4 months ago (2014-08-15 23:39:01 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (60001) as 290125
6 years, 4 months ago (2014-08-16 08:05:25 UTC) #12
scottmg
6 years, 4 months ago (2014-08-25 23:03:05 UTC) #13
Message was sent while issue was closed.
A revert of this CL (patchset #3) has been created in
https://codereview.chromium.org/488693003/ by scottmg@chromium.org.

The reason for reverting is: Causing browser crashes due to race, BUG=404767.

Powered by Google App Engine
This is Rietveld 408576698