|
Implement ComplexFeature to support permission features with multiple rules.
This moves the existing Feature class functionality into SimpleFeature and makes Feature an abstract class. ComplexFeature implements Feature and returns the availability of the Features that compose it.
Also move SimpleFeatureProvider to BaseFeatureProvider since they can return either Simple or Complex features now.
BUG= 159181
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173320
Total comments: 67
Total comments: 22
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+791 lines, -1412 lines) |
Patch |
 |
M |
chrome/chrome_common.gypi
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/extension_api.cc
|
View
|
1
2
3
4
|
6 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/extension_api_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
chrome/common/extensions/features/base_feature_provider.h
|
View
|
1
2
3
4
|
2 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
A |
chrome/common/extensions/features/base_feature_provider.cc
|
View
|
1
2
3
4
|
1 chunk |
+166 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/common/extensions/features/base_feature_provider_unittest.cc
|
View
|
1
2
3
4
|
5 chunks |
+80 lines, -20 lines |
0 comments
|
Download
|
 |
A |
chrome/common/extensions/features/complex_feature.h
|
View
|
1
2
3
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/common/extensions/features/complex_feature.cc
|
View
|
1
2
3
|
1 chunk |
+77 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/common/extensions/features/complex_feature_unittest.cc
|
View
|
1
2
|
1 chunk |
+142 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/features/feature.h
|
View
|
1
2
3
4
|
5 chunks |
+12 lines, -57 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/features/feature.cc
|
View
|
1
2
3
|
3 chunks |
+1 line, -342 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/features/feature_unittest.cc
|
View
|
1
|
1 chunk |
+0 lines, -523 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/features/manifest_feature.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/features/manifest_feature.cc
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/features/permission_feature.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/features/permission_feature.cc
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A |
chrome/common/extensions/features/simple_feature.h
|
View
|
1
2
3
|
1 chunk |
+98 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/common/extensions/features/simple_feature.cc
|
View
|
1
2
3
|
10 chunks |
+28 lines, -59 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/features/simple_feature_provider.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -51 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/features/simple_feature_provider.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -124 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/features/simple_feature_provider_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -124 lines |
0 comments
|
Download
|
 |
A + |
chrome/common/extensions/features/simple_feature_unittest.cc
|
View
|
1
2
3
|
18 chunks |
+70 lines, -61 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/manifest.cc
|
View
|
1
2
3
4
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/manifest_unittest.cc
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|