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

Issue 10823247: In the declarative API, check that the extension has permission for the event (Closed)

Created:
8 years, 4 months ago by not at google - send to devlin
Modified:
8 years, 4 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, benwells, koz (OOO until 15th September), battre
Visibility:
Public.

Description

In the declarative API, check that the extension has permission for the event that it tries to modify. BUG=141093 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150723

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : override HasPermission instead #

Patch Set 4 : remove ExtensionSystem debugging #

Total comments: 2

Patch Set 5 : no Init #

Patch Set 6 : cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M chrome/browser/extensions/api/declarative/declarative_api.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/declarative/declarative_api.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Matt Perry
lgtm
8 years, 4 months ago (2012-08-09 01:08:19 UTC) #1
not at google - send to devlin
Hey Matt, I changed the way it works, sorry. Forgot about the new way that ...
8 years, 4 months ago (2012-08-09 01:19:25 UTC) #2
not at google - send to devlin
(PTAL)
8 years, 4 months ago (2012-08-09 01:20:53 UTC) #3
Matt Perry
lgtm https://chromiumcodereview.appspot.com/10823247/diff/9004/chrome/browser/extensions/api/declarative/declarative_api.cc File chrome/browser/extensions/api/declarative/declarative_api.cc (right): https://chromiumcodereview.appspot.com/10823247/diff/9004/chrome/browser/extensions/api/declarative/declarative_api.cc#newcode77 chrome/browser/extensions/api/declarative/declarative_api.cc:77: bool RulesFunction::Init() { optional: I would get rid ...
8 years, 4 months ago (2012-08-09 01:31:50 UTC) #4
not at google - send to devlin
https://chromiumcodereview.appspot.com/10823247/diff/9004/chrome/browser/extensions/api/declarative/declarative_api.cc File chrome/browser/extensions/api/declarative/declarative_api.cc (right): https://chromiumcodereview.appspot.com/10823247/diff/9004/chrome/browser/extensions/api/declarative/declarative_api.cc#newcode77 chrome/browser/extensions/api/declarative/declarative_api.cc:77: bool RulesFunction::Init() { On 2012/08/09 01:31:50, Matt Perry wrote: ...
8 years, 4 months ago (2012-08-09 01:41:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10823247/10002
8 years, 4 months ago (2012-08-09 01:42:02 UTC) #6
commit-bot: I haz the power
8 years, 4 months ago (2012-08-09 04:04:39 UTC) #7
Change committed as 150723

Powered by Google App Engine
This is Rietveld 408576698