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

Unified Diff: extensions/common/features/api_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
Index: extensions/common/features/api_feature.h
diff --git a/extensions/common/features/api_feature.h b/extensions/common/features/api_feature.h
index 7a30cb432d0f07602358b11952c89e01c8f9c243..38247dc073166b26ee0bd5ee114303c01fee4e27 100644
--- a/extensions/common/features/api_feature.h
+++ b/extensions/common/features/api_feature.h
@@ -17,12 +17,7 @@ class APIFeature : public SimpleFeature {
~APIFeature() override;
// extensions::Feature:
- bool IsInternal() const override;
-
- std::string Parse(const base::DictionaryValue* value) override;
-
- private:
- bool internal_;
+ bool Validate(std::string* error) override;
};
} // namespace extensions
« no previous file with comments | « chrome/common/extensions/api/common_extension_api_unittest.cc ('k') | extensions/common/features/api_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698