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

Issue 1470233002: media: Generalize MediaPermissionDispatcher. (Closed)

Created:
5 years ago by xhwang
Modified:
4 years, 10 months ago
Reviewers:
nasko
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, posciak+watch_chromium.org, nasko+codewatch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Generalize MediaPermissionDispatcher. Remove render_frame() reference to make MediaPermissionDispatcher more generic. This enables us to use MediaPermissionDispatcher in other places. BUG=559839 Committed: https://crrev.com/6bca21e40d0273798d751b41e0abe9a03928ee3d Cr-Commit-Position: refs/heads/master@{#373962}

Patch Set 1 #

Total comments: 3

Patch Set 2 : rebase only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -24 lines) Patch
M content/renderer/media/media_permission_dispatcher.h View 1 3 chunks +9 lines, -5 lines 0 comments Download
M content/renderer/media/media_permission_dispatcher.cc View 1 4 chunks +8 lines, -12 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 chunks +6 lines, -3 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 3 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
xhwang
PTAL https://chromiumcodereview.appspot.com/1470233002/diff/1/content/renderer/render_frame_impl.h File content/renderer/render_frame_impl.h (right): https://chromiumcodereview.appspot.com/1470233002/diff/1/content/renderer/render_frame_impl.h#newcode1003 content/renderer/render_frame_impl.h:1003: scoped_ptr<MediaPermissionDispatcher> media_permission_dispatcher_; We don't care about any Frame ...
5 years ago (2015-11-24 08:28:05 UTC) #2
nasko
LGTM https://codereview.chromium.org/1470233002/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1470233002/diff/1/content/renderer/render_frame_impl.cc#newcode5268 content/renderer/render_frame_impl.cc:5268: base::Unretained(this)))); Please add a comment why using base::Unretained(this) ...
5 years ago (2015-11-25 15:04:27 UTC) #3
xhwang
rebase only
4 years, 10 months ago (2016-02-05 22:06:03 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1470233002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1470233002/20001
4 years, 10 months ago (2016-02-05 23:07:01 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-06 00:21:56 UTC) #8
commit-bot: I haz the power
4 years, 10 months ago (2016-02-06 00:23:10 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6bca21e40d0273798d751b41e0abe9a03928ee3d
Cr-Commit-Position: refs/heads/master@{#373962}

Powered by Google App Engine
This is Rietveld 408576698