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

Issue 1474563002: Make CapabilityFilter non-nullable. (Closed)

Created:
5 years ago by Ben Goodger (Google)
Modified:
5 years ago
Reviewers:
sky
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make CapabilityFilter non-nullable. Passing null to the Shell interface means to run the application with a permissive filter. This is confusing compared to passing an empty CapabilityFilter which means run with the most restrictive filter. One should have to explicitly construct a permissive filter. R=sky@chromium.org BUG= Committed: https://crrev.com/0a62ff059aa3b09b08a93b85135ef945ea0edf3a Cr-Commit-Position: refs/heads/master@{#361596}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -9 lines) Patch
M content/renderer/render_frame_impl.cc View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M content/test/data/web_ui_mojo_shell_test.js View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M mojo/application/public/cpp/application_impl.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M mojo/application/public/cpp/lib/application_impl.cc View 1 2 3 chunks +13 lines, -2 lines 0 comments Download
M mojo/application/public/interfaces/shell.mojom View 2 chunks +2 lines, -4 lines 0 comments Download
M ui/views/mus/surface_binding.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 22 (9 generated)
Ben Goodger (Google)
5 years ago (2015-11-24 00:20:54 UTC) #1
sky
LGTM
5 years ago (2015-11-24 00:24:05 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1474563002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1474563002/1
5 years ago (2015-11-24 00:27:05 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/70693)
5 years ago (2015-11-24 01:39:47 UTC) #6
Ben Goodger (Google)
I had to update the client lib: - initialize ConnectParams::filter_ to non-null - adjust the ...
5 years ago (2015-11-24 05:01:31 UTC) #7
sky
SLGTM
5 years ago (2015-11-24 16:22:13 UTC) #8
Ben Goodger (Google)
Now tests pass too. PTAL.
5 years ago (2015-11-24 21:41:20 UTC) #9
sky
LGTM
5 years ago (2015-11-24 21:47:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1474563002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1474563002/80001
5 years ago (2015-11-25 02:47:42 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/149327) android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, ...
5 years ago (2015-11-25 03:38:07 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1474563002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1474563002/100001
5 years ago (2015-11-25 04:55:18 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years ago (2015-11-25 06:42:33 UTC) #21
commit-bot: I haz the power
5 years ago (2015-11-25 06:43:54 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0a62ff059aa3b09b08a93b85135ef945ea0edf3a
Cr-Commit-Position: refs/heads/master@{#361596}

Powered by Google App Engine
This is Rietveld 408576698