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

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

Issue 2494653005: Support API aliases (Closed)
Patch Set: rebase Created 4 years, 1 month 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/feature.h
diff --git a/extensions/common/features/feature.h b/extensions/common/features/feature.h
index cc3ee7f3cb13b4d7aa11c25a8fecccb9e806defe..1ff5b9790e0e52c322449e5c675fad3486018916 100644
--- a/extensions/common/features/feature.h
+++ b/extensions/common/features/feature.h
@@ -145,6 +145,8 @@ class Feature {
virtual bool IsIdInBlacklist(const std::string& extension_id) const = 0;
virtual bool IsIdInWhitelist(const std::string& extension_id) const = 0;
+ virtual std::string GetAlias() const = 0;
+ virtual std::string GetSource() const = 0;
Devlin 2016/11/14 18:03:56 We document that complex features only support a s
tbarzic 2016/11/15 04:45:07 Done.
void set_check_channel(bool check_channel) { check_channel_ = check_channel; }

Powered by Google App Engine
This is Rietveld 408576698