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

Issue 16085006: Allowing component extensions to request permissions NOT only from user's gestures (Closed)

Created:
7 years, 6 months ago by vadimt
Modified:
7 years, 6 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org, rgustafson, skare_, stromme
Visibility:
Public.

Description

Allowing component extensions to request permissions NOT only from user's gestures. Google Now extension will request background permission dynamically, and this won't necessarily happen from user's gestures. BUG=164227 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204735

Patch Set 1 #

Patch Set 2 : mpcomplete@ notes #

Total comments: 2

Patch Set 3 : Moving check. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M chrome/browser/extensions/api/permissions/permissions_api.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
vadimt
mpcomplete@, please provide OWNER's approval.
7 years, 6 months ago (2013-06-04 00:53:43 UTC) #1
Matt Perry
Why would it request a permission from a non-gesture? The point of this requirement is ...
7 years, 6 months ago (2013-06-04 20:28:41 UTC) #2
vadimt
On 2013/06/04 20:28:41, Matt Perry wrote: > Why would it request a permission from a ...
7 years, 6 months ago (2013-06-04 21:22:56 UTC) #3
Matt Perry
On 2013/06/04 21:22:56, vadimt wrote: > On 2013/06/04 20:28:41, Matt Perry wrote: > > Why ...
7 years, 6 months ago (2013-06-04 21:30:57 UTC) #4
vadimt
On 2013/06/04 21:30:57, Matt Perry wrote: > On 2013/06/04 21:22:56, vadimt wrote: > > On ...
7 years, 6 months ago (2013-06-04 21:38:54 UTC) #5
Matt Perry
On 2013/06/04 21:38:54, vadimt wrote: > On 2013/06/04 21:30:57, Matt Perry wrote: > > On ...
7 years, 6 months ago (2013-06-04 22:05:55 UTC) #6
stromme1
> > > > Anyways, even if we see this dialog, I believe, it makes ...
7 years, 6 months ago (2013-06-04 22:29:43 UTC) #7
Matt Perry
+battre (see my question at the end) On 2013/06/04 22:29:43, stromme1 wrote: > > > ...
7 years, 6 months ago (2013-06-04 22:50:31 UTC) #8
vadimt
On 2013/06/04 22:50:31, Matt Perry wrote: > +battre (see my question at the end) > ...
7 years, 6 months ago (2013-06-04 23:42:11 UTC) #9
Matt Perry
On 2013/06/04 23:42:11, vadimt wrote: > On 2013/06/04 22:50:31, Matt Perry wrote: > > +battre ...
7 years, 6 months ago (2013-06-04 23:58:29 UTC) #10
vadimt
> So if it's OK for component extensions to ask for optional permissions without a ...
7 years, 6 months ago (2013-06-05 00:24:28 UTC) #11
Matt Perry
https://codereview.chromium.org/16085006/diff/11001/chrome/browser/extensions/api/permissions/permissions_api.cc File chrome/browser/extensions/api/permissions/permissions_api.cc (right): https://codereview.chromium.org/16085006/diff/11001/chrome/browser/extensions/api/permissions/permissions_api.cc#newcode214 chrome/browser/extensions/api/permissions/permissions_api.cc:214: bool has_no_warnings = extension_->location() == Manifest::COMPONENT || nit: this ...
7 years, 6 months ago (2013-06-05 00:26:52 UTC) #12
vadimt
https://codereview.chromium.org/16085006/diff/11001/chrome/browser/extensions/api/permissions/permissions_api.cc File chrome/browser/extensions/api/permissions/permissions_api.cc (right): https://codereview.chromium.org/16085006/diff/11001/chrome/browser/extensions/api/permissions/permissions_api.cc#newcode214 chrome/browser/extensions/api/permissions/permissions_api.cc:214: bool has_no_warnings = extension_->location() == Manifest::COMPONENT || On 2013/06/05 ...
7 years, 6 months ago (2013-06-05 00:33:07 UTC) #13
battre
On 2013/06/04 23:58:29, Matt Perry wrote: > On 2013/06/04 23:42:11, vadimt wrote: > > On ...
7 years, 6 months ago (2013-06-05 07:56:25 UTC) #14
vadimt
When the user checks the checkbox with the flag (on Settings page), the extension may ...
7 years, 6 months ago (2013-06-05 17:47:50 UTC) #15
Matt Perry
On 2013/06/05 17:47:50, vadimt wrote: > When the user checks the checkbox with the flag ...
7 years, 6 months ago (2013-06-06 20:45:13 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/16085006/17001
7 years, 6 months ago (2013-06-06 22:40:50 UTC) #17
commit-bot: I haz the power
7 years, 6 months ago (2013-06-07 07:51:31 UTC) #18
Message was sent while issue was closed.
Change committed as 204735

Powered by Google App Engine
This is Rietveld 408576698