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

Issue 427983003: Change the default implementation of ExtensionFunction::HasPermission to use (Closed)

Created:
6 years, 4 months ago by not at google - send to devlin
Modified:
6 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Change the default implementation of ExtensionFunction::HasPermission to use the real context type, not assume it's BLESSED_CONTEXT_TYPE (which has always been wrong). This cleans up some other code. BUG=391944 R=rockot@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287987

Patch Set 1 #

Patch Set 2 : fix failures #

Total comments: 2

Patch Set 3 : reorg #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -72 lines) Patch
M chrome/common/extensions/api/_api_features.json View 1 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/browser/event_router.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/browser/extension_function.h View 3 chunks +11 lines, -0 lines 0 comments Download
M extensions/browser/extension_function.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M extensions/browser/extension_function_dispatcher.cc View 4 chunks +2 lines, -69 lines 0 comments Download
M extensions/browser/process_map.h View 3 chunks +25 lines, -0 lines 0 comments Download
M extensions/browser/process_map.cc View 1 2 2 chunks +33 lines, -0 lines 0 comments Download
M extensions/common/api/_api_features.json View 1 1 chunk +6 lines, -1 line 0 comments Download
M extensions/renderer/dispatcher.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
not at google - send to devlin
6 years, 4 months ago (2014-08-05 22:49:14 UTC) #1
not at google - send to devlin
morning ping.
6 years, 4 months ago (2014-08-06 17:35:30 UTC) #2
not at google - send to devlin
(not being impatient - but I like to be reminded in the morning, maybe you ...
6 years, 4 months ago (2014-08-06 17:36:01 UTC) #3
Ken Rockot(use gerrit already)
lgtm I was a little wary of the guessing bit, but it seems like the ...
6 years, 4 months ago (2014-08-06 21:44:45 UTC) #4
not at google - send to devlin
https://codereview.chromium.org/427983003/diff/20001/extensions/browser/process_map.cc File extensions/browser/process_map.cc (right): https://codereview.chromium.org/427983003/diff/20001/extensions/browser/process_map.cc#newcode147 extensions/browser/process_map.cc:147: return (extension->is_hosted_app() && On 2014/08/06 21:44:45, Ken Rockot wrote: ...
6 years, 4 months ago (2014-08-06 23:03:32 UTC) #5
not at google - send to devlin
The CQ bit was checked by kalman@chromium.org
6 years, 4 months ago (2014-08-06 23:03:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/427983003/60001
6 years, 4 months ago (2014-08-06 23:05:00 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 07:27:24 UTC) #8
Message was sent while issue was closed.
Change committed as 287987

Powered by Google App Engine
This is Rietveld 408576698