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

Issue 2579593002: Change MediaPermission not to use PermissionContext directly (Closed)

Created:
4 years ago by raymes
Modified:
4 years ago
CC:
chromium-reviews, mlamouri+watch-permissions_chromium.org, feature-media-reviews_chromium.org, mcasas+watch+vc_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change MediaPermission not to use PermissionContext directly This CL makes the code in MediaPermission go through PermissionManager, which it didn't before (there was a TODO for this). It also slightly simplifies the logic in PermissionManager for querying the permission status. Committed: https://crrev.com/893dbdd608d9089be71db2317730077377e4c97c Cr-Commit-Position: refs/heads/master@{#439600}

Patch Set 1 #

Patch Set 2 : Just PM #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -62 lines) Patch
M chrome/browser/media/webrtc/media_permission.h View 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/media/webrtc/media_permission.cc View 1 4 chunks +18 lines, -28 lines 0 comments Download
M chrome/browser/permissions/permission_manager.h View 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/permissions/permission_manager.cc View 1 6 chunks +25 lines, -27 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 27 (17 generated)
raymes
Hey Kendra, PTAL. This is a cleanup which will help make it easier to implement ...
4 years ago (2016-12-15 00:28:21 UTC) #3
kcarattini
This lgtm. Do you also plan to move the killswitch logic out of RequestPermission? It ...
4 years ago (2016-12-15 01:49:29 UTC) #4
raymes
On 2016/12/15 01:49:29, kcarattini wrote: > This lgtm. Do you also plan to move the ...
4 years ago (2016-12-15 04:17:52 UTC) #5
raymes
+tommi for chrome/browser/media/webrtc/* OWNERS
4 years ago (2016-12-15 04:18:39 UTC) #7
raymes
Kendra - ptal. It turns out it wasn't easy to move that logic because a ...
4 years ago (2016-12-19 04:35:52 UTC) #14
kcarattini
Still lgtm. Thanks for doing this cleanup. Kendra
4 years ago (2016-12-19 04:55:14 UTC) #17
Sergey Ulanov
lgtm
4 years ago (2016-12-19 22:42:04 UTC) #20
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/2579593002/20001
4 years ago (2016-12-19 22:44:52 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-19 22:50:03 UTC) #25
commit-bot: I haz the power
4 years ago (2016-12-19 22:53:05 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/893dbdd608d9089be71db2317730077377e4c97c
Cr-Commit-Position: refs/heads/master@{#439600}

Powered by Google App Engine
This is Rietveld 408576698