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: chrome/common/extensions/features/base_feature_provider_unittest.cc

Issue 13997002: Load extensions features file separately when needed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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: chrome/common/extensions/features/base_feature_provider_unittest.cc
diff --git a/chrome/common/extensions/features/base_feature_provider_unittest.cc b/chrome/common/extensions/features/base_feature_provider_unittest.cc
index df876dc88c308106d9fd77d668e180aba12f118d..75cee73a233e3e85bf99052c5355d7ce2397388e 100644
--- a/chrome/common/extensions/features/base_feature_provider_unittest.cc
+++ b/chrome/common/extensions/features/base_feature_provider_unittest.cc
@@ -20,7 +20,7 @@ using extensions::SimpleFeature;
TEST(BaseFeatureProvider, ManifestFeatures) {
BaseFeatureProvider* provider =
- BaseFeatureProvider::GetManifestFeatures();
+ BaseFeatureProvider::GetFeaturesByName("manifest");
SimpleFeature* feature =
static_cast<SimpleFeature*>(provider->GetFeature("description"));
ASSERT_TRUE(feature);
@@ -62,7 +62,7 @@ TEST(BaseFeatureProvider, ManifestFeatures) {
TEST(BaseFeatureProvider, PermissionFeatures) {
BaseFeatureProvider* provider =
- BaseFeatureProvider::GetPermissionFeatures();
+ BaseFeatureProvider::GetFeaturesByName("permission");
SimpleFeature* feature =
static_cast<SimpleFeature*>(provider->GetFeature("contextMenus"));
ASSERT_TRUE(feature);

Powered by Google App Engine
This is Rietveld 408576698