| Index: chrome/common/extensions/extension_manifests_unittest.cc
|
| ===================================================================
|
| --- chrome/common/extensions/extension_manifests_unittest.cc (revision 48200)
|
| +++ chrome/common/extensions/extension_manifests_unittest.cc (working copy)
|
| @@ -76,6 +76,12 @@
|
| };
|
|
|
| TEST_F(ManifestTest, AppsDisabledByDefault) {
|
| +#if defined(OS_CHROMEOS)
|
| + // On ChromeOS, apps are enabled by default.
|
| + if (Extension::AppsAreEnabled())
|
| + return;
|
| +#endif
|
| +
|
| enable_apps_ = false;
|
| LoadAndExpectError("web_content_disabled.json", errors::kAppsNotEnabled);
|
| LoadAndExpectError("launch_local_path.json", errors::kAppsNotEnabled);
|
|
|