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

Unified Diff: extensions/common/features/manifest_feature.cc

Issue 2151583003: [Extensions] Add extension feature generation code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include fix Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/features/complex_feature.h ('k') | extensions/common/features/permission_feature.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/features/manifest_feature.cc
diff --git a/extensions/common/features/manifest_feature.cc b/extensions/common/features/manifest_feature.cc
index 2245dee24e23490587e1767489b3a70e08f72a0b..313142d6843e106c64fe5c35e4ff53af10b49ecb 100644
--- a/extensions/common/features/manifest_feature.cc
+++ b/extensions/common/features/manifest_feature.cc
@@ -38,13 +38,13 @@ bool ManifestFeature::Validate(std::string* error) {
if (!SimpleFeature::Validate(error))
return false;
- if (extension_types()->empty()) {
+ if (extension_types().empty()) {
*error = name() + ": Manifest features must specify at least one " +
"value for extension_types.";
return false;
}
- if (!contexts()->empty()) {
+ if (!contexts().empty()) {
*error = name() + ": Manifest features do not support contexts.";
return false;
}
« no previous file with comments | « extensions/common/features/complex_feature.h ('k') | extensions/common/features/permission_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698