Index: chrome/common/extensions/extension_manifests_unittest.cc |
diff --git a/chrome/common/extensions/extension_manifests_unittest.cc b/chrome/common/extensions/extension_manifests_unittest.cc |
index 9ff0c5e17c49a9bf9e721e43ec30befd51c96328..8b8720b7eb13b674f97dad2e5eeb5247cf5a0c91 100644 |
--- a/chrome/common/extensions/extension_manifests_unittest.cc |
+++ b/chrome/common/extensions/extension_manifests_unittest.cc |
@@ -242,6 +242,8 @@ TEST_F(ExtensionManifestTest, InitFromValueValid) { |
} |
TEST_F(ExtensionManifestTest, PlatformApps) { |
+ CommandLine::ForCurrentProcess()->AppendSwitch(switches::kEnablePlatformApps); |
+ |
// A minimal platform app. |
LoadAndExpectSuccess("init_valid_platform_app.json"); |
} |
@@ -378,8 +380,7 @@ TEST_F(ExtensionManifestTest, AppWebUrls) { |
TEST_F(ExtensionManifestTest, AppLaunchContainer) { |
scoped_refptr<Extension> extension; |
- CommandLine::ForCurrentProcess()->AppendSwitch( |
- switches::kEnablePlatformApps); |
+ CommandLine::ForCurrentProcess()->AppendSwitch(switches::kEnablePlatformApps); |
extension = LoadAndExpectSuccess("launch_tab.json"); |
EXPECT_EQ(extension_misc::LAUNCH_TAB, extension->launch_container()); |