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

Unified Diff: chrome/browser/chromeos/file_manager/filesystem_api_util.cc

Issue 589473002: Files.app: Enable externalfile: protocol for MTP volumes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/browser/chromeos/file_manager/filesystem_api_util.cc
diff --git a/chrome/browser/chromeos/file_manager/filesystem_api_util.cc b/chrome/browser/chromeos/file_manager/filesystem_api_util.cc
index c19fb7ecb9a740c233ee6cae328a83861e2384f0..06fee4405a4f98b17fba9cca2fcb69be9b4fa879 100644
--- a/chrome/browser/chromeos/file_manager/filesystem_api_util.cc
+++ b/chrome/browser/chromeos/file_manager/filesystem_api_util.cc
@@ -177,11 +177,11 @@ void GetNonNativeLocalPathMimeType(
return;
}
- // As a fallback just return success with an empty mime type value.
+ // As a fallback just return failure with an empty mime type value.
content::BrowserThread::PostTask(
content::BrowserThread::UI,
FROM_HERE,
- base::Bind(callback, true /* success */, std::string()));
+ base::Bind(callback, false /* failure */, std::string()));
}
void IsNonNativeLocalPathDirectory(

Powered by Google App Engine
This is Rietveld 408576698