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

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

Issue 9113095: Revert 119284 - Turn web intents build flag on. Move the command-line flag to default on. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 11 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
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | content/browser/intents/intent_injector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_manifests_unittest.cc
===================================================================
--- chrome/common/extensions/extension_manifests_unittest.cc (revision 119305)
+++ chrome/common/extensions/extension_manifests_unittest.cc (working copy)
@@ -775,6 +775,8 @@
}
TEST_F(ExtensionManifestTest, WebIntents) {
+ CommandLine::ForCurrentProcess()->AppendSwitch(switches::kEnableWebIntents);
+
LoadAndExpectError("intent_invalid_1.json",
extension_manifest_errors::kInvalidIntents);
LoadAndExpectError("intent_invalid_2.json",
@@ -820,6 +822,8 @@
}
TEST_F(ExtensionManifestTest, WebIntentsWithMultipleMimeTypes) {
+ CommandLine::ForCurrentProcess()->AppendSwitch(switches::kEnableWebIntents);
+
scoped_refptr<Extension> extension(
LoadAndExpectSuccess("intent_valid_multitype.json"));
ASSERT_TRUE(extension.get() != NULL);
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | content/browser/intents/intent_injector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698