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

Unified Diff: chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc

Issue 10349015: Make platform apps get isolated storage by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/manifest_tests/extension_manifests_platformapp_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
index 4e40c8e3b46a9f31e4184c994e6947459b464d94..8b39de342f841085fb6acfa9ed6b8b6d8683fd0a 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
@@ -20,10 +20,11 @@ TEST_F(ExtensionManifestTest, PlatformApps) {
CommandLine::ForCurrentProcess()->AppendSwitch(switches::kEnablePlatformApps);
- LoadAndExpectSuccess("init_valid_platform_app.json");
-
scoped_refptr<Extension> extension =
- LoadAndExpectSuccess("init_invalid_platform_app_1.json");
+ LoadAndExpectSuccess("init_valid_platform_app.json");
+ EXPECT_TRUE(extension->is_storage_isolated());
+
+ extension = LoadAndExpectSuccess("init_invalid_platform_app_1.json");
ASSERT_TRUE(extension);
ASSERT_EQ(1u, extension->install_warnings().size());
EXPECT_EQ("'app.launch' is not allowed for specified package type "
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/test/data/extensions/platform_apps/isolation/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698