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

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

Issue 2186893002: Reduce size of generated extension FeatureProviders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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/feature.h ('k') | extensions/common/features/json_feature_provider.cc » ('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 94125e06efd5da169180c4db915c5c7178e7228c..b4c18cb1d7addafe27d7eed91cf7d6728a85f544 100644
--- a/extensions/common/features/feature.cc
+++ b/extensions/common/features/feature.cc
@@ -50,4 +50,8 @@ Feature::Feature() : no_parent_(false), check_channel_(false) {}
Feature::~Feature() {}
+void Feature::set_name(base::StringPiece name) {
+ name_ = name.as_string();
+}
+
} // namespace extensions
« no previous file with comments | « extensions/common/features/feature.h ('k') | extensions/common/features/json_feature_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698