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

Issue 8598022: Restrict access to permissions based on extension types. (Closed)

Created:
9 years, 1 month ago by jstritar
Modified:
9 years ago
CC:
chromium-reviews, Erik does not do reviews, mihaip+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Restrict access to permissions based on extension types. BUG=101992 TEST=existing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112548

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 11

Patch Set 5 : feedback #

Patch Set 6 : . #

Patch Set 7 : merge #

Patch Set 8 : . #

Patch Set 9 : . #

Total comments: 1

Patch Set 10 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+291 lines, -239 lines) Patch
M chrome/browser/renderer_host/chrome_render_view_host_observer.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 5 6 7 8 9 3 chunks +34 lines, -29 lines 0 comments Download
M chrome/common/extensions/extension_manifests_unittest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +9 lines, -6 lines 0 comments Download
M chrome/common/extensions/extension_permission_set.h View 1 2 3 4 5 6 7 chunks +62 lines, -28 lines 0 comments Download
M chrome/common/extensions/extension_permission_set.cc View 1 2 3 4 5 6 7 8 9 5 chunks +156 lines, -171 lines 0 comments Download
M chrome/common/extensions/extension_permission_set_unittest.cc View 1 2 3 4 5 6 1 chunk +26 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jstritar
9 years, 1 month ago (2011-11-21 16:47:41 UTC) #1
Aaron Boodman
drive-by http://codereview.chromium.org/8598022/diff/7001/chrome/common/extensions/extension.cc File chrome/common/extensions/extension.cc (right): http://codereview.chromium.org/8598022/diff/7001/chrome/common/extensions/extension.cc#newcode2858 chrome/common/extensions/extension.cc:2858: if (creation_flags_ & STRICT_ERROR_CHECKS) { I don't think ...
9 years ago (2011-11-22 09:40:32 UTC) #2
Aaron Boodman
http://codereview.chromium.org/8598022/diff/7001/chrome/common/extensions/extension.cc File chrome/common/extensions/extension.cc (right): http://codereview.chromium.org/8598022/diff/7001/chrome/common/extensions/extension.cc#newcode2858 chrome/common/extensions/extension.cc:2858: if (creation_flags_ & STRICT_ERROR_CHECKS) { On 2011/11/22 09:40:32, Aaron ...
9 years ago (2011-11-22 09:41:17 UTC) #3
jstritar
http://codereview.chromium.org/8598022/diff/7001/chrome/common/extensions/extension.cc File chrome/common/extensions/extension.cc (right): http://codereview.chromium.org/8598022/diff/7001/chrome/common/extensions/extension.cc#newcode2858 chrome/common/extensions/extension.cc:2858: if (creation_flags_ & STRICT_ERROR_CHECKS) { Won't we run into ...
9 years ago (2011-11-22 15:58:29 UTC) #4
Aaron Boodman
> On 2011/11/22 15:58:29, jstritar wrote: http://codereview.chromium.org/8598022/diff/7001/chrome/common/extensions/extension.cc#newcode2858 > chrome/common/extensions/extension.cc:2858: if (creation_flags_ & > STRICT_ERROR_CHECKS) { ...
9 years ago (2011-11-22 17:16:26 UTC) #5
jstritar
On 2011/11/22 17:16:26, Aaron Boodman wrote: > I thought that only applied to hosted apps ...
9 years ago (2011-11-22 18:07:50 UTC) #6
jstritar
Back to you Aaron-- I special cased the hosted apps for the strict check.
9 years ago (2011-11-22 20:59:30 UTC) #7
Aaron Boodman
lgtm
9 years ago (2011-11-22 21:32:31 UTC) #8
jstritar
I added TYPE_PLATFORM_APP to Extension::GetType() while rebasing and had to make a couple changes to ...
9 years ago (2011-11-30 18:56:20 UTC) #9
Aaron Boodman
http://codereview.chromium.org/8598022/diff/24001/chrome/browser/renderer_host/chrome_render_view_host_observer.cc File chrome/browser/renderer_host/chrome_render_view_host_observer.cc (right): http://codereview.chromium.org/8598022/diff/24001/chrome/browser/renderer_host/chrome_render_view_host_observer.cc#newcode116 chrome/browser/renderer_host/chrome_render_view_host_observer.cc:116: if (type == Extension::TYPE_EXTENSION || Why did you add ...
9 years ago (2011-11-30 21:32:16 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jstritar@chromium.org/8598022/27001
9 years ago (2011-12-01 19:58:39 UTC) #11
commit-bot: I haz the power
9 years ago (2011-12-01 22:02:41 UTC) #12
Change committed as 112548

Powered by Google App Engine
This is Rietveld 408576698