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

Unified Diff: trunk/src/chrome/browser/apps/app_browsertest.cc

Issue 240313002: Revert 264167 "Sniff MIME type for files which have unknown exte..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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: trunk/src/chrome/browser/apps/app_browsertest.cc
===================================================================
--- trunk/src/chrome/browser/apps/app_browsertest.cc (revision 264191)
+++ trunk/src/chrome/browser/apps/app_browsertest.cc (working copy)
@@ -652,18 +652,10 @@
<< message_;
}
-// Tests that launch data is sent through when the file has unknown extension
-// but the MIME type can be sniffed and the sniffed type matches.
-IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, LaunchWithSniffableType) {
- SetCommandLineArg("platform_apps/launch_files/test.unknownextension");
- ASSERT_TRUE(RunPlatformAppTest(
- "platform_apps/launch_file_by_extension_and_type")) << message_;
-}
-
// Tests that launch data is sent through with the MIME type set to
// application/octet-stream if the file MIME type cannot be read.
IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, LaunchNoType) {
- SetCommandLineArg("platform_apps/launch_files/test_binary.unknownextension");
+ SetCommandLineArg("platform_apps/launch_files/test.unknownextension");
ASSERT_TRUE(RunPlatformAppTest(
"platform_apps/launch_application_octet_stream")) << message_;
}
« no previous file with comments | « trunk/src/apps/launcher.cc ('k') | trunk/src/chrome/browser/chromeos/extensions/file_manager/private_api_tasks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698