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

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

Issue 8734016: Make platform apps use and require a different container ("shell" instead of "panel") (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 1 month 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/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());
« no previous file with comments | « chrome/common/extensions/extension_constants.cc ('k') | chrome/test/data/extensions/api_test/socket/api/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698