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

Issue 7508029: Add origin permissions to the extension permissions API. (Closed)

Created:
9 years, 4 months ago by jstritar
Modified:
9 years, 4 months ago
CC:
chromium-reviews, Erik does not do reviews, Paweł Hajdan Jr., mihaip+watch_chromium.org, Aaron Boodman, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Add origins to the extension permissions API. BUG=48119, 84507 TEST=*Extension* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95704

Patch Set 1 #

Patch Set 2 : . #

Total comments: 10

Patch Set 3 : feedback #

Patch Set 4 : rebase #

Patch Set 5 : merge crlf change to hopefully fix the patching problem #

Patch Set 6 : merge in another crlf change #

Patch Set 7 : fix dcheck #

Unified diffs Side-by-side diffs Delta from patch set Stats (+563 lines, -267 lines) Patch
M chrome/browser/extensions/extension_permissions_api.h View 1 chunk +8 lines, -10 lines 0 comments Download
M chrome/browser/extensions/extension_permissions_api.cc View 1 2 10 chunks +50 lines, -19 lines 0 comments Download
M chrome/browser/extensions/extension_permissions_api_constants.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_permissions_api_constants.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/extensions/permissions_apitest.cc View 1 2 3 chunks +20 lines, -1 line 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/experimental.permissions.html View 1 chunk +79 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_messages.h View 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/renderer/extensions/extension_dispatcher.h View 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/extension_dispatcher.cc View 1 2 3 4 5 6 5 chunks +42 lines, -14 lines 0 comments Download
M chrome/test/data/extensions/api_test/permissions/optional/background.html View 1 2 3 4 5 1 chunk +281 lines, -186 lines 0 comments Download
M chrome/test/data/extensions/api_test/permissions/optional/manifest.json View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/api_test/permissions/optional_deny/background.html View 1 2 3 4 1 chunk +53 lines, -25 lines 0 comments Download
M chrome/test/data/extensions/api_test/permissions/optional_deny/manifest.json View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jstritar
9 years, 4 months ago (2011-08-03 18:58:08 UTC) #1
jstritar
app engine error... trying to send again.
9 years, 4 months ago (2011-08-03 19:09:45 UTC) #2
Matt Perry
http://codereview.chromium.org/7508029/diff/2001/chrome/browser/extensions/extension_permissions_api.cc File chrome/browser/extensions/extension_permissions_api.cc (right): http://codereview.chromium.org/7508029/diff/2001/chrome/browser/extensions/extension_permissions_api.cc#newcode104 chrome/browser/extensions/extension_permissions_api.cc:104: origin.Parse(pattern, URLPattern::USE_PORTS); shouldn't we use IGNORE_PORTS to match what ...
9 years, 4 months ago (2011-08-03 22:08:14 UTC) #3
jstritar
http://codereview.chromium.org/7508029/diff/2001/chrome/browser/extensions/extension_permissions_api.cc File chrome/browser/extensions/extension_permissions_api.cc (right): http://codereview.chromium.org/7508029/diff/2001/chrome/browser/extensions/extension_permissions_api.cc#newcode104 chrome/browser/extensions/extension_permissions_api.cc:104: origin.Parse(pattern, URLPattern::USE_PORTS); On 2011/08/03 22:08:14, Matt Perry wrote: > ...
9 years, 4 months ago (2011-08-04 16:35:15 UTC) #4
Matt Perry
lgtm
9 years, 4 months ago (2011-08-04 18:06:42 UTC) #5
jstritar
There's something strange about this CL. The try bots keep failing when patching the background.html ...
9 years, 4 months ago (2011-08-04 19:07:34 UTC) #6
Matt Perry
On 2011/08/04 19:07:34, jstritar wrote: > There's something strange about this CL. The try bots ...
9 years, 4 months ago (2011-08-04 20:30:15 UTC) #7
commit-bot: I haz the power
9 years, 4 months ago (2011-08-06 00:57:15 UTC) #8
Change committed as 95704

Powered by Google App Engine
This is Rietveld 408576698