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

Issue 1665563003: Ask for notification permission during extension installation. (Closed)

Created:
4 years, 10 months ago by Peter Beverloo
Modified:
4 years, 10 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ask for notification permission during extension installation. This will include a note about displaying notifications when installing an extension that has the "notifications" permission. Notifications allow the developer to display UI outside of the scope of the extension, which is not always equally clearly attributed to the extension showing the notification. This should not be considered a trivial permission. The changed .crx file requested the "notifications" permission, but didn't use it for anything. I've swapped out for "cookies". The source does not seem to be checked in (hosted_app/ in the folder is something else). TBR=benwells (for app_info_permissions_panel_unittest.cc) BUG=583480 Committed: https://crrev.com/7d646cfee32db5f81a257a73a8a75acf03da7942 Cr-Commit-Position: refs/heads/master@{#374375}

Patch Set 1 : #

Patch Set 2 : fix tests #

Patch Set 3 : #

Total comments: 1

Messages

Total messages: 23 (10 generated)
Peter Beverloo
+treib for chrome_permission_message_rules.cc OWNERS +dewittj for the notifications extensions API There don't seem to be ...
4 years, 10 months ago (2016-02-03 12:40:41 UTC) #3
Marc Treib
There are tests for some things, but not for every single permission message. The general ...
4 years, 10 months ago (2016-02-03 12:49:37 UTC) #5
Marc Treib
Ah, code-wise LGTM, but please wait for Devlin's input before landing!
4 years, 10 months ago (2016-02-03 12:55:00 UTC) #6
Devlin
https://codereview.chromium.org/1665563003/diff/60001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1665563003/diff/60001/chrome/app/generated_resources.grd#newcode3971 chrome/app/generated_resources.grd:3971: + Display notifications I've looped in meacer@ (my general ...
4 years, 10 months ago (2016-02-03 17:34:51 UTC) #8
Peter Beverloo
On 2016/02/03 12:49:37, Marc Treib wrote: > For existing extensions that already have this permission, ...
4 years, 10 months ago (2016-02-03 17:53:25 UTC) #9
dewittj
+1 to "Send you notifications" Concept lgtm
4 years, 10 months ago (2016-02-03 18:00:24 UTC) #10
dewittj
I mentioned this on the bug, but we need to be sure that upgrading an ...
4 years, 10 months ago (2016-02-03 18:01:05 UTC) #11
Devlin
On 2016/02/03 18:01:05, dewittj wrote: > I mentioned this on the bug, but we need ...
4 years, 10 months ago (2016-02-03 18:07:33 UTC) #12
Devlin
From the discussion on the bug, let's go ahead with this. LGTM.
4 years, 10 months ago (2016-02-08 18:47:41 UTC) #13
Peter Beverloo
Let's do it :) +TBR benwells for one trivial change in app_info_permissions_panel_unittest.cc.
4 years, 10 months ago (2016-02-09 13:57:17 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1665563003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1665563003/60001
4 years, 10 months ago (2016-02-09 13:58:12 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 10 months ago (2016-02-09 15:14:36 UTC) #21
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 15:15:46 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7d646cfee32db5f81a257a73a8a75acf03da7942
Cr-Commit-Position: refs/heads/master@{#374375}

Powered by Google App Engine
This is Rietveld 408576698