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

Issue 2801553002: Remove IsUserAcceptAllowed check from storing media permission decision (Closed)

Created:
3 years, 8 months ago by raymes
Modified:
3 years, 8 months ago
Reviewers:
Timothy Loh
CC:
chromium-reviews, chfremer+watch_chromium.org, feature-media-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove IsUserAcceptAllowed check from storing media permission decision IsUserAcceptAllowed returns whether the Android permission can be granted as well as whether the tab is showing. These things are important to check when deciding whether permission should be granted to an origin, but they are not important to check when deciding whether to store a permission decision a user has made. As such we can remove this check. BUG=596786 Review-Url: https://codereview.chromium.org/2801553002 Cr-Commit-Position: refs/heads/master@{#463164} Committed: https://chromium.googlesource.com/chromium/src/+/93b8c34db71156846a5c60d71b8ae447cbd5165a

Patch Set 1 #

Patch Set 2 : Remove IsUserAcceptAllowed check from storing permission decision #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -8 lines) Patch
M chrome/browser/media/webrtc/media_stream_devices_controller.cc View 1 1 chunk +2 lines, -8 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 9 (5 generated)
raymes
3 years, 8 months ago (2017-04-05 01:29:18 UTC) #2
Timothy Loh
On 2017/04/05 01:29:18, raymes wrote: Seems reasonable, lgtm
3 years, 8 months ago (2017-04-06 01:38:41 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2801553002/20001
3 years, 8 months ago (2017-04-09 23:46:18 UTC) #6
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 01:30:43 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/93b8c34db71156846a5c60d71b8a...

Powered by Google App Engine
This is Rietveld 408576698