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

Issue 241673002: Support a "policy" extension location in extension features files. At the same (Closed)

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

Description

Support a "policy" extension location in extension features files. BUG=364536 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264826

Patch Set 1 #

Patch Set 2 : format #

Total comments: 7

Patch Set 3 : different approach (yoz) #

Total comments: 2

Patch Set 4 : test #

Patch Set 5 : i give up making SimpleFEature private #

Patch Set 6 : format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+310 lines, -231 lines) Patch
M chrome/common/extensions/api/extension_api_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/features/chrome_channel_feature_filter.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/features/chrome_channel_feature_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/features/base_feature_provider_unittest.cc View 1 1 chunk +24 lines, -20 lines 0 comments Download
M extensions/common/features/complex_feature.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/features/complex_feature.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M extensions/common/features/complex_feature_unittest.cc View 1 2 chunks +49 lines, -41 lines 0 comments Download
M extensions/common/features/feature.h View 1 2 3 4 4 chunks +7 lines, -11 lines 0 comments Download
M extensions/common/features/feature.cc View 2 chunks +9 lines, -8 lines 0 comments Download
M extensions/common/features/simple_feature.h View 1 2 3 4 6 chunks +30 lines, -16 lines 0 comments Download
M extensions/common/features/simple_feature.cc View 1 2 3 4 7 chunks +28 lines, -11 lines 0 comments Download
M extensions/common/features/simple_feature_filter.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/features/simple_feature_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/features/simple_feature_unittest.cc View 1 2 3 4 5 17 chunks +147 lines, -107 lines 0 comments Download
M extensions/common/manifest.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M extensions/common/permissions/permissions_data.cc View 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
not at google - send to devlin
The formatting changes are from "git cl format", sorry. https://codereview.chromium.org/241673002/diff/20001/extensions/common/features/feature.h File extensions/common/features/feature.h (right): https://codereview.chromium.org/241673002/diff/20001/extensions/common/features/feature.h#newcode133 extensions/common/features/feature.h:133: ...
6 years, 8 months ago (2014-04-17 21:33:13 UTC) #1
not at google - send to devlin
btw the bug talks about making "location" actually be "locations". I thought about that, decided ...
6 years, 8 months ago (2014-04-17 21:36:02 UTC) #2
Yoyo Zhou
https://codereview.chromium.org/241673002/diff/20001/extensions/common/features/simple_feature.cc File extensions/common/features/simple_feature.cc (right): https://codereview.chromium.org/241673002/diff/20001/extensions/common/features/simple_feature.cc#newcode24 extensions/common/features/simple_feature.cc:24: extension_types["extension"].push_back(Manifest::TYPE_EXTENSION); On 2014/04/17 21:33:14, kalman wrote: > I'm not... ...
6 years, 8 months ago (2014-04-17 21:53:12 UTC) #3
Yoyo Zhou
P.S. I think we shouldn't support complex patterns of valid locations, like "locations": [...]; certainly, ...
6 years, 8 months ago (2014-04-17 21:53:49 UTC) #4
not at google - send to devlin
https://codereview.chromium.org/241673002/diff/20001/extensions/common/features/simple_feature.cc File extensions/common/features/simple_feature.cc (right): https://codereview.chromium.org/241673002/diff/20001/extensions/common/features/simple_feature.cc#newcode24 extensions/common/features/simple_feature.cc:24: extension_types["extension"].push_back(Manifest::TYPE_EXTENSION); On 2014/04/17 21:53:12, Yoyo Zhou wrote: > On ...
6 years, 8 months ago (2014-04-17 21:59:30 UTC) #5
Yoyo Zhou
https://codereview.chromium.org/241673002/diff/20001/extensions/common/features/simple_feature.cc File extensions/common/features/simple_feature.cc (right): https://codereview.chromium.org/241673002/diff/20001/extensions/common/features/simple_feature.cc#newcode24 extensions/common/features/simple_feature.cc:24: extension_types["extension"].push_back(Manifest::TYPE_EXTENSION); On 2014/04/17 21:59:31, kalman wrote: > On 2014/04/17 ...
6 years, 8 months ago (2014-04-17 22:00:29 UTC) #6
not at google - send to devlin
good point.
6 years, 8 months ago (2014-04-17 22:01:17 UTC) #7
not at google - send to devlin
ok... rather different now. I maintained part of the original advantage which was hiding the ...
6 years, 8 months ago (2014-04-17 23:18:11 UTC) #8
Yoyo Zhou
LGTM https://codereview.chromium.org/241673002/diff/30001/extensions/common/features/simple_feature_unittest.cc File extensions/common/features/simple_feature_unittest.cc (right): https://codereview.chromium.org/241673002/diff/30001/extensions/common/features/simple_feature_unittest.cc#newcode289 extensions/common/features/simple_feature_unittest.cc:289: TEST_F(ExtensionSimpleFeatureTest, Location) { There should be a test ...
6 years, 8 months ago (2014-04-17 23:48:21 UTC) #9
asargent_no_longer_on_chrome
The only concern I can come up with is more of a general one that ...
6 years, 8 months ago (2014-04-18 00:16:48 UTC) #10
not at google - send to devlin
On 2014/04/18 00:16:48, Antony Sargent wrote: > The only concern I can come up with ...
6 years, 8 months ago (2014-04-18 01:50:20 UTC) #11
not at google - send to devlin
https://codereview.chromium.org/241673002/diff/30001/extensions/common/features/simple_feature_unittest.cc File extensions/common/features/simple_feature_unittest.cc (right): https://codereview.chromium.org/241673002/diff/30001/extensions/common/features/simple_feature_unittest.cc#newcode289 extensions/common/features/simple_feature_unittest.cc:289: TEST_F(ExtensionSimpleFeatureTest, Location) { On 2014/04/17 23:48:21, Yoyo Zhou wrote: ...
6 years, 8 months ago (2014-04-18 01:57:45 UTC) #12
not at google - send to devlin
The CQ bit was checked by kalman@chromium.org
6 years, 8 months ago (2014-04-18 01:57:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/241673002/50001
6 years, 8 months ago (2014-04-18 01:58:19 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-18 03:34:31 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-18 03:34:32 UTC) #16
not at google - send to devlin
The CQ bit was checked by kalman@chromium.org
6 years, 8 months ago (2014-04-18 16:27:23 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/241673002/90001
6 years, 8 months ago (2014-04-18 16:27:34 UTC) #18
commit-bot: I haz the power
6 years, 8 months ago (2014-04-18 19:19:06 UTC) #19
Message was sent while issue was closed.
Change committed as 264826

Powered by Google App Engine
This is Rietveld 408576698