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

Unified Diff: chrome/common/extensions/features/base_feature_provider_unittest.cc

Issue 23691012: Renamed packaged_app to legacy_packaged_app in extension feature files. It's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tostring message Created 7 years, 4 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 30f6abb358cf2dc02defb1bb916e03dbc8152764..d31d3deb8f8d5889b05a9e29bf6dffc28fd7c520 100644
--- a/chrome/common/extensions/features/base_feature_provider_unittest.cc
+++ b/chrome/common/extensions/features/base_feature_provider_unittest.cc
@@ -146,15 +146,15 @@ TEST(BaseFeatureProviderTest, Validation) {
TEST(BaseFeatureProviderTest, ComplexFeatures) {
scoped_ptr<base::DictionaryValue> rule(
DictionaryBuilder()
- .Set("feature1",
- ListBuilder().Append(DictionaryBuilder()
- .Set("channel", "beta")
- .Set("extension_types",
- ListBuilder().Append("extension")))
- .Append(DictionaryBuilder()
- .Set("channel", "beta")
- .Set("extension_types",
- ListBuilder().Append("packaged_app"))))
+ .Set("feature1", ListBuilder()
+ .Append(DictionaryBuilder()
+ .Set("channel", "beta")
+ .Set("extension_types", ListBuilder()
+ .Append("extension")))
+ .Append(DictionaryBuilder()
+ .Set("channel", "beta")
+ .Set("extension_types", ListBuilder()
+ .Append("legacy_packaged_app"))))
.Build());
scoped_ptr<BaseFeatureProvider> provider(
« no previous file with comments | « chrome/common/extensions/api/_permission_features.json ('k') | chrome/common/extensions/features/complex_feature_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698