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

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

Issue 293943002: Clean up TestFeaturesNativeHandler to use the ExtensionsClient's JSON feature sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/feature_provider.h
diff --git a/extensions/common/features/feature_provider.h b/extensions/common/features/feature_provider.h
index 97f94c65bff71758269d3bda9bb36b69e3cb88a0..887cb22b4ec6f4529186f21a47177bf7f45982f4 100644
--- a/extensions/common/features/feature_provider.h
+++ b/extensions/common/features/feature_provider.h
@@ -31,12 +31,12 @@ class FeatureProvider {
virtual const std::vector<std::string>& GetAllFeatureNames() const = 0;
// Gets a feature provider for a specific feature type, like "permission".
- static FeatureProvider* GetByName(const std::string& name);
+ static const FeatureProvider* GetByName(const std::string& name);
// Directly access the common feature types.
- static FeatureProvider* GetAPIFeatures();
- static FeatureProvider* GetManifestFeatures();
- static FeatureProvider* GetPermissionFeatures();
+ static const FeatureProvider* GetAPIFeatures();
+ static const FeatureProvider* GetManifestFeatures();
+ static const FeatureProvider* GetPermissionFeatures();
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698