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

Issue 15961006: Regenerate Extensions API bindings when optional permissions change (Closed)

Created:
7 years, 6 months ago by cduvall
Modified:
7 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Regenerate Extensions API bindings when optional permissions change Each time the optional permissions change for an extension, the API bindings will be regenerated, reflecting the new permissions. R=kalman@chromium.org BUG=55316 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204492

Patch Set 1 : #

Total comments: 19

Patch Set 2 : fixes #

Total comments: 24

Patch Set 3 : comments #

Patch Set 4 : dumb mistake #

Patch Set 5 : add IsEmpty check #

Patch Set 6 : add missing stuff to android stubs #

Patch Set 7 : rebase #

Patch Set 8 : try againto fix android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -109 lines) Patch
M chrome/common/extensions/api/extension_api_stub.cc View 1 2 3 4 5 6 7 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/common/extensions/features/permission_feature.cc View 1 2 1 chunk +1 line, -6 lines 0 comments Download
M chrome/renderer/extensions/dispatcher.h View 1 2 3 4 5 6 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/dispatcher.cc View 1 2 3 4 5 6 8 chunks +108 lines, -66 lines 0 comments Download
M chrome/test/data/extensions/api_test/permissions/optional/background.js View 1 2 4 chunks +3 lines, -27 lines 0 comments Download
M chrome/test/data/extensions/api_test/permissions/optional_deny/background.js View 1 2 2 chunks +2 lines, -8 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
cduvall
This passes all the *OptionalPermission* tests, but I'm getting the context the wrong way. See ...
7 years, 6 months ago (2013-05-31 03:06:34 UTC) #1
not at google - send to devlin
awesome! pretty trivial comments. ping me if you're blocked on the ForEach thing and I'll ...
7 years, 6 months ago (2013-05-31 16:35:00 UTC) #2
cduvall
This patch is diffed against https://codereview.chromium.org/15855010/. https://codereview.chromium.org/15961006/diff/2001/chrome/renderer/extensions/dispatcher.cc File chrome/renderer/extensions/dispatcher.cc (right): https://codereview.chromium.org/15961006/diff/2001/chrome/renderer/extensions/dispatcher.cc#newcode722 chrome/renderer/extensions/dispatcher.cc:722: ModuleSystem* module_system, On ...
7 years, 6 months ago (2013-06-05 03:05:55 UTC) #3
not at google - send to devlin
lgtm if it's just trivial changes, ping it back to me if not. https://codereview.chromium.org/15961006/diff/2001/chrome/renderer/extensions/dispatcher.cc File ...
7 years, 6 months ago (2013-06-05 19:03:44 UTC) #4
cduvall
https://codereview.chromium.org/15961006/diff/2001/chrome/renderer/extensions/dispatcher.cc File chrome/renderer/extensions/dispatcher.cc (right): https://codereview.chromium.org/15961006/diff/2001/chrome/renderer/extensions/dispatcher.cc#newcode1290 chrome/renderer/extensions/dispatcher.cc:1290: // TODO(cduvall): This is wrong. Not sure what to ...
7 years, 6 months ago (2013-06-05 23:27:59 UTC) #5
cduvall
https://codereview.chromium.org/15961006/diff/26001/chrome/renderer/extensions/dispatcher.cc File chrome/renderer/extensions/dispatcher.cc (right): https://codereview.chromium.org/15961006/diff/26001/chrome/renderer/extensions/dispatcher.cc#newcode723 chrome/renderer/extensions/dispatcher.cc:723: v8::Context::Scope(context->v8_context()); Strangely, if I take out the v8::Context::Scope, and ...
7 years, 6 months ago (2013-06-06 00:01:41 UTC) #6
cduvall
https://codereview.chromium.org/15961006/diff/26001/chrome/renderer/extensions/dispatcher.cc File chrome/renderer/extensions/dispatcher.cc (right): https://codereview.chromium.org/15961006/diff/26001/chrome/renderer/extensions/dispatcher.cc#newcode723 chrome/renderer/extensions/dispatcher.cc:723: v8::Context::Scope(context->v8_context()); On 2013/06/06 00:01:41, cduvall wrote: > Strangely, if ...
7 years, 6 months ago (2013-06-06 00:33:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/15961006/44001
7 years, 6 months ago (2013-06-06 00:37:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/15961006/48001
7 years, 6 months ago (2013-06-06 00:49:32 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-06 01:50:40 UTC) #10
not at google - send to devlin
Ok looks like we need to add this methods into chrome/common/extensions/api/extension_api_stub.cc
7 years, 6 months ago (2013-06-06 01:59:59 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/15961006/67001
7 years, 6 months ago (2013-06-06 02:31:49 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/15961006/79001
7 years, 6 months ago (2013-06-06 03:13:00 UTC) #13
not at google - send to devlin
(lgtm I added the missing stubs for you - I want to land this!)
7 years, 6 months ago (2013-06-06 03:16:10 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-06 04:27:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/15961006/97001
7 years, 6 months ago (2013-06-06 04:49:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/15961006/97001
7 years, 6 months ago (2013-06-06 13:47:42 UTC) #17
commit-bot: I haz the power
7 years, 6 months ago (2013-06-06 13:49:09 UTC) #18
Message was sent while issue was closed.
Change committed as 204492

Powered by Google App Engine
This is Rietveld 408576698