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

Issue 345713005: Make sure MediaStreamManager handles requests in order. (Closed)

Created:
6 years, 6 months ago by perkj_chrome
Modified:
6 years, 6 months ago
CC:
chromium-reviews, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org, miu+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Make sure MediaStreamManager handles requests in order. This cl changes MediaStreamManager to internally use a list of requests instead of a map. The purpose is to make sure requests are serviced in the order they are requested rather than be dependent on the map key. This is to avoid that the requests are serviced out of order if several requests are waiting for a media device to be opened. BUG=381893 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278453

Patch Set 1 #

Patch Set 2 : self review #

Patch Set 3 : Added comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -18 lines) Patch
M content/browser/media/webrtc_getusermedia_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc View 2 chunks +10 lines, -6 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_manager.h View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_manager.cc View 1 2 chunks +18 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
perkj_chrome
Can you please review?
6 years, 6 months ago (2014-06-19 14:46:23 UTC) #1
no longer working on chromium
lgtm, please add a comment to explain a map is not suitable.
6 years, 6 months ago (2014-06-19 14:58:32 UTC) #2
perkj_chrome
The CQ bit was checked by perkj@chromium.org
6 years, 6 months ago (2014-06-19 15:04:42 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/perkj@chromium.org/345713005/40001
6 years, 6 months ago (2014-06-19 15:06:06 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 19:28:04 UTC) #5
Message was sent while issue was closed.
Change committed as 278453

Powered by Google App Engine
This is Rietveld 408576698