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

Unified Diff: chrome/common/extensions/manifest_unittest.cc

Issue 10909239: Rename PACKAGED_APP references to LEGACY_PACKAGED_APP (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comments Created 8 years, 3 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/manifest_unittest.cc
diff --git a/chrome/common/extensions/manifest_unittest.cc b/chrome/common/extensions/manifest_unittest.cc
index 5f2323d27cb1c15d08db91ab9bd174176bbbb18c..65c308f9bb2e679c9e699aa323dd501f0a62341c 100644
--- a/chrome/common/extensions/manifest_unittest.cc
+++ b/chrome/common/extensions/manifest_unittest.cc
@@ -31,8 +31,8 @@ class ManifestTest : public testing::Test {
EXPECT_EQ(type == Extension::TYPE_THEME, manifest->is_theme());
EXPECT_EQ(type == Extension::TYPE_PLATFORM_APP,
manifest->is_platform_app());
- EXPECT_EQ(type == Extension::TYPE_PACKAGED_APP,
- manifest->is_packaged_app());
+ EXPECT_EQ(type == Extension::TYPE_LEGACY_PACKAGED_APP,
+ manifest->is_legacy_packaged_app());
EXPECT_EQ(type == Extension::TYPE_HOSTED_APP, manifest->is_hosted_app());
}
@@ -138,7 +138,7 @@ TEST_F(ManifestTest, ExtensionTypes) {
// Packaged app.
MutateManifest(
&manifest, keys::kApp, new DictionaryValue());
- AssertType(manifest.get(), Extension::TYPE_PACKAGED_APP);
+ AssertType(manifest.get(), Extension::TYPE_LEGACY_PACKAGED_APP);
// Platform app.
MutateManifest(
« chrome/common/extensions/extension.h ('K') | « chrome/common/extensions/manifest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698