Index: chrome/browser/apps/app_browsertest.cc |
diff --git a/chrome/browser/apps/app_browsertest.cc b/chrome/browser/apps/app_browsertest.cc |
index 96cdebf3664d2a04aa21bed9d135bbd31e12a0d7..0c44568e517b463b50c11e38319b2a0ddb0f5ef8 100644 |
--- a/chrome/browser/apps/app_browsertest.cc |
+++ b/chrome/browser/apps/app_browsertest.cc |
@@ -546,6 +546,16 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, LaunchWithFileExtension) { |
<< message_; |
} |
+// Tests that launch data is sent through to a whitelisted extension if the file |
+// extension matches. |
+IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, |
+ LaunchWhiteListedExtensionWithFile) { |
+ SetCommandLineArg(kTestFilePath); |
+ ASSERT_TRUE(RunPlatformAppTest( |
+ "platform_apps/launch_whitelisted_ext_with_file")) |
+ << message_; |
+} |
+ |
#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_AURA) |
// TODO(erg): linux_aura bringup: http://crbug.com/163931 |
#define MAYBE_LaunchWithFileExtensionAndMimeType DISABLED_LaunchWithFileExtensionAndMimeType |