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

Unified Diff: extensions/common/features/api_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 | « chrome/test/BUILD.gn ('k') | extensions/common/features/base_feature_provider_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/features/api_feature.cc
diff --git a/extensions/common/features/api_feature.cc b/extensions/common/features/api_feature.cc
index 67882f90d5d051cf35bf787e958e8787c669e68e..20a5f1012c09e00033b551b54ed0e15f2bd334a6 100644
--- a/extensions/common/features/api_feature.cc
+++ b/extensions/common/features/api_feature.cc
@@ -15,7 +15,7 @@ bool APIFeature::Validate(std::string* error) {
if (!SimpleFeature::Validate(error))
return false;
- if (contexts()->empty()) {
+ if (contexts().empty()) {
*error = name() + ": API features must specify at least one context.";
return false;
}
« no previous file with comments | « chrome/test/BUILD.gn ('k') | extensions/common/features/base_feature_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698