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

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

Issue 2494653005: Support API aliases (Closed)
Patch Set: . 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
« no previous file with comments | « extensions/common/features/feature.h ('k') | extensions/renderer/js_extension_bindings_system.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/features/feature.cc
diff --git a/extensions/common/features/feature.cc b/extensions/common/features/feature.cc
index b4c18cb1d7addafe27d7eed91cf7d6728a85f544..18a41757cbd9a6a4676607b608d68049763d762b 100644
--- a/extensions/common/features/feature.cc
+++ b/extensions/common/features/feature.cc
@@ -54,4 +54,12 @@ void Feature::set_name(base::StringPiece name) {
name_ = name.as_string();
}
+void Feature::set_alias(base::StringPiece alias) {
+ alias_ = alias.as_string();
+}
+
+void Feature::set_source(base::StringPiece source) {
+ source_ = source.as_string();
+}
+
} // namespace extensions
« no previous file with comments | « extensions/common/features/feature.h ('k') | extensions/renderer/js_extension_bindings_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698