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

Issue 2791063002: Add Feature Policy interface to RenderFrameHost (Closed)

Created:
3 years, 8 months ago by iclelland
Modified:
3 years, 8 months ago
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Feature Policy interface to RenderFrameHost This adds a simple API for querying whether a feature should be available in a given frame, from the browser process. The API is initially going to be used by WebUSB; see https://crrev.com/2815003005 BUG=707760 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2791063002 Cr-Commit-Position: refs/heads/master@{#464548} Committed: https://chromium.googlesource.com/chromium/src/+/08debb3333b06d4bf652e72df8720582ee5d957e

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 1

Patch Set 3 : Guard against possible null pointer deref #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M content/browser/frame_host/render_frame_host_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M content/public/browser/render_frame_host.h View 1 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (18 generated)
iclelland
+r alexmos, can you PTAL? This comes out of the code review comment at https://codereview.chromium.org/2655663004/diff/60001/content/browser/frame_host/frame_tree_node.h. ...
3 years, 8 months ago (2017-04-04 19:33:50 UTC) #8
alexmos
Thanks, this looks good, but we typically try to land new content public APIs together ...
3 years, 8 months ago (2017-04-04 23:28:04 UTC) #9
Reilly Grant (use Gerrit)
I'm waiting for this patch to land in order to finish my own change. My ...
3 years, 8 months ago (2017-04-06 21:47:45 UTC) #11
alexmos
On 2017/04/06 21:47:45, Reilly Grant wrote: > I'm waiting for this patch to land in ...
3 years, 8 months ago (2017-04-06 22:04:59 UTC) #12
iclelland
On 2017/04/06 22:04:59, alexmos wrote: > On 2017/04/06 21:47:45, Reilly Grant wrote: > > I'm ...
3 years, 8 months ago (2017-04-11 18:42:40 UTC) #13
Reilly Grant (use Gerrit)
On 2017/04/11 18:42:40, iclelland wrote: > On 2017/04/06 22:04:59, alexmos wrote: > > On 2017/04/06 ...
3 years, 8 months ago (2017-04-11 18:46:54 UTC) #14
iclelland
On 2017/04/06 22:04:59, alexmos wrote: > On 2017/04/06 21:47:45, Reilly Grant wrote: > > I'm ...
3 years, 8 months ago (2017-04-13 01:37:08 UTC) #16
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/2791063002/1
3 years, 8 months ago (2017-04-13 01:37:55 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/246996) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 8 months ago (2017-04-13 01:44:27 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/2791063002/20001
3 years, 8 months ago (2017-04-13 20:19:44 UTC) #23
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2791063002/diff/20001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/2791063002/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode1918 content/browser/frame_host/render_frame_host_impl.cc:1918: return feature_policy_->IsFeatureEnabledForOrigin(feature, I recommend making this feature_policy_ && feature_policy_->... ...
3 years, 8 months ago (2017-04-13 20:21:45 UTC) #24
iclelland
On 2017/04/13 20:21:45, Reilly Grant wrote: > https://codereview.chromium.org/2791063002/diff/20001/content/browser/frame_host/render_frame_host_impl.cc > File content/browser/frame_host/render_frame_host_impl.cc (right): > > https://codereview.chromium.org/2791063002/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode1918 ...
3 years, 8 months ago (2017-04-13 20:26:30 UTC) #26
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/2791063002/40001
3 years, 8 months ago (2017-04-13 20:29:26 UTC) #29
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 21:25:09 UTC) #32
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/08debb3333b06d4bf652e72df872...

Powered by Google App Engine
This is Rietveld 408576698