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

Issue 585263002: Change two media request "invalid state" results. (Closed)

Created:
6 years, 3 months ago by Henrik Grunell
Modified:
6 years, 3 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Change two media request "invalid state" results. * Changed one to "permission denied" for screen capture. * Changed one to "no hardware" for platform app. BUG=416233 Committed: https://crrev.com/606c8414da4e0576ac5f0e3da3a82431bfd68ece Cr-Commit-Position: refs/heads/master@{#296238}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Code review. #

Patch Set 3 : Rebase #

Total comments: 4

Patch Set 4 : Code review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -10 lines) Patch
M chrome/browser/media/media_capture_devices_dispatcher.cc View 1 2 3 4 chunks +32 lines, -10 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
Henrik Grunell
Let's see if you agree with these changes. :)
6 years, 3 months ago (2014-09-20 13:09:00 UTC) #2
tommi (sloooow) - chröme
https://codereview.chromium.org/585263002/diff/1/chrome/browser/media/media_capture_devices_dispatcher.cc File chrome/browser/media/media_capture_devices_dispatcher.cc (right): https://codereview.chromium.org/585263002/diff/1/chrome/browser/media/media_capture_devices_dispatcher.cc#newcode634 chrome/browser/media/media_capture_devices_dispatcher.cc:634: // permission. or !screen_capture_enabled or !origin_is_secure? in either case, ...
6 years, 3 months ago (2014-09-20 14:45:24 UTC) #3
Henrik Grunell
https://codereview.chromium.org/585263002/diff/1/chrome/browser/media/media_capture_devices_dispatcher.cc File chrome/browser/media/media_capture_devices_dispatcher.cc (right): https://codereview.chromium.org/585263002/diff/1/chrome/browser/media/media_capture_devices_dispatcher.cc#newcode634 chrome/browser/media/media_capture_devices_dispatcher.cc:634: // permission. On 2014/09/20 14:45:23, tommi wrote: > or ...
6 years, 3 months ago (2014-09-22 09:16:14 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/585263002/diff/40001/chrome/browser/media/media_capture_devices_dispatcher.cc File chrome/browser/media/media_capture_devices_dispatcher.cc (right): https://codereview.chromium.org/585263002/diff/40001/chrome/browser/media/media_capture_devices_dispatcher.cc#newcode732 chrome/browser/media/media_capture_devices_dispatcher.cc:732: content::MediaStreamRequestResult result = I don't see this used anywhere ...
6 years, 3 months ago (2014-09-22 17:19:22 UTC) #5
Henrik Grunell
https://codereview.chromium.org/585263002/diff/40001/chrome/browser/media/media_capture_devices_dispatcher.cc File chrome/browser/media/media_capture_devices_dispatcher.cc (right): https://codereview.chromium.org/585263002/diff/40001/chrome/browser/media/media_capture_devices_dispatcher.cc#newcode732 chrome/browser/media/media_capture_devices_dispatcher.cc:732: content::MediaStreamRequestResult result = On 2014/09/22 17:19:22, Sergey Ulanov wrote: ...
6 years, 3 months ago (2014-09-22 19:02:39 UTC) #6
tommi (sloooow) - chröme
https://codereview.chromium.org/585263002/diff/1/chrome/browser/media/media_capture_devices_dispatcher.cc File chrome/browser/media/media_capture_devices_dispatcher.cc (right): https://codereview.chromium.org/585263002/diff/1/chrome/browser/media/media_capture_devices_dispatcher.cc#newcode768 chrome/browser/media/media_capture_devices_dispatcher.cc:768: devices.empty() ? content::MEDIA_DEVICE_INVALID_STATE : On 2014/09/20 14:45:23, tommi wrote: ...
6 years, 3 months ago (2014-09-22 20:15:02 UTC) #7
Henrik Grunell
https://codereview.chromium.org/585263002/diff/1/chrome/browser/media/media_capture_devices_dispatcher.cc File chrome/browser/media/media_capture_devices_dispatcher.cc (right): https://codereview.chromium.org/585263002/diff/1/chrome/browser/media/media_capture_devices_dispatcher.cc#newcode768 chrome/browser/media/media_capture_devices_dispatcher.cc:768: devices.empty() ? content::MEDIA_DEVICE_INVALID_STATE : On 2014/09/22 20:15:02, tommi wrote: ...
6 years, 3 months ago (2014-09-23 07:39:28 UTC) #8
Henrik Grunell
Ping Tommi.
6 years, 3 months ago (2014-09-23 12:20:29 UTC) #9
tommi (sloooow) - chröme
lgtm
6 years, 3 months ago (2014-09-23 17:22:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/585263002/60001
6 years, 3 months ago (2014-09-23 17:59:23 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 4a989b780c7dfdfa8edf9887559071595e2f5539
6 years, 3 months ago (2014-09-23 21:05:48 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-23 21:06:21 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/606c8414da4e0576ac5f0e3da3a82431bfd68ece
Cr-Commit-Position: refs/heads/master@{#296238}

Powered by Google App Engine
This is Rietveld 408576698