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

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

Issue 2150193002: [Extensions] Add a SimpleFeature::Validate function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Istiaque's 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/json_feature_provider.cc ('k') | extensions/common/features/manifest_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.h
diff --git a/extensions/common/features/manifest_feature.h b/extensions/common/features/manifest_feature.h
index ab77d028df8f56dc24da3925b2434fd073c0a1ab..59b9bfa6aaa316730803754b057658ea81660e37 100644
--- a/extensions/common/features/manifest_feature.h
+++ b/extensions/common/features/manifest_feature.h
@@ -22,7 +22,7 @@ class ManifestFeature : public SimpleFeature {
const GURL& url,
Feature::Platform platform) const override;
- std::string Parse(const base::DictionaryValue* value) override;
+ bool Validate(std::string* error) override;
};
} // namespace extensions
« no previous file with comments | « extensions/common/features/json_feature_provider.cc ('k') | extensions/common/features/manifest_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698