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

Issue 311113006: Collapsing the permission for "kTabs" and "kHostsAll" (Closed)

Created:
6 years, 6 months ago by mhm
Modified:
6 years, 6 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Collapsing the permission for "kTabs" and "kHostsAll". The former is automatically included in the latter. This CL reduces the number of install time permissions shown to the user when the extension asks for both "kTabs" and "kHostsAll" permission. The former automattically includes all the information in the latter and we only need to show the latters message. BUG=380797 R=meacer, jww Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276034

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixed the code style nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
M chrome/common/extensions/permissions/chrome_permission_message_provider.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set_unittest.cc View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
mhm
meacer@ and jww@ can you please have a look at this for me.
6 years, 6 months ago (2014-06-07 01:14:15 UTC) #1
meacer
On 2014/06/07 01:14:15, mhm wrote: > meacer@ and jww@ can you please have a look ...
6 years, 6 months ago (2014-06-07 01:35:36 UTC) #2
jww
lgtm, modulo nit (also, do address meacer's point please). https://codereview.chromium.org/311113006/diff/1/chrome/common/extensions/permissions/chrome_permission_message_provider.cc File chrome/common/extensions/permissions/chrome_permission_message_provider.cc (right): https://codereview.chromium.org/311113006/diff/1/chrome/common/extensions/permissions/chrome_permission_message_provider.cc#newcode96 chrome/common/extensions/permissions/chrome_permission_message_provider.cc:96: ...
6 years, 6 months ago (2014-06-07 19:33:07 UTC) #3
mhm
On 2014/06/07 01:35:36, Mustafa Emre Acer wrote: > On 2014/06/07 01:14:15, mhm wrote: > > ...
6 years, 6 months ago (2014-06-09 20:23:00 UTC) #4
mhm
kalman@ can you please OWNER review this for me?
6 years, 6 months ago (2014-06-09 20:27:38 UTC) #5
not at google - send to devlin
lgtm; great idea, and it seems like there might be other permissions that might be ...
6 years, 6 months ago (2014-06-09 20:45:43 UTC) #6
mhm
On 2014/06/09 20:45:43, kalman wrote: > lgtm; great idea, and it seems like there might ...
6 years, 6 months ago (2014-06-09 20:50:28 UTC) #7
mhm
The CQ bit was checked by mohammed@chromium.org
6 years, 6 months ago (2014-06-09 20:50:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohammed@chromium.org/311113006/20001
6 years, 6 months ago (2014-06-09 20:51:54 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-10 09:00:33 UTC) #10
commit-bot: I haz the power
Change committed as 276034
6 years, 6 months ago (2014-06-10 15:08:40 UTC) #11
mhm
On 2014/06/09 20:45:43, kalman wrote: > lgtm; great idea, and it seems like there might ...
6 years, 6 months ago (2014-06-12 22:10:19 UTC) #12
not at google - send to devlin
6 years, 6 months ago (2014-06-12 22:17:00 UTC) #13
Message was sent while issue was closed.
On 2014/06/12 22:10:19, mhm wrote:
> On 2014/06/09 20:45:43, kalman wrote:
> > lgtm; great idea, and it seems like there might be other permissions that
> might
> > be simplified? like chrome.cookies, just quickly skimming through
> > https://developer.chrome.com/extensions/api_index
> 
> Isn't cookie permission already not displaying any message?
>
(https://code.google.com/p/chromium/codesearch#chromium/src/chrome/common/exte...)

Ah. I guess not.

Powered by Google App Engine
This is Rietveld 408576698