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

Unified Diff: chrome/browser/chromeos/file_manager/open_with_browser.h

Issue 589473002: Files.app: Enable externalfile: protocol for MTP volumes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit fix 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/open_with_browser.h
diff --git a/chrome/browser/chromeos/file_manager/open_with_browser.h b/chrome/browser/chromeos/file_manager/open_with_browser.h
index acb678a86a4821b4372de54c964e9ad9e877ec17..5137f8d31ddce158207db3fe4b83cb44628f74ac 100644
--- a/chrome/browser/chromeos/file_manager/open_with_browser.h
+++ b/chrome/browser/chromeos/file_manager/open_with_browser.h
@@ -11,6 +11,10 @@
class Profile;
+namespace storage {
+class FileSystemURL;
+}
+
namespace file_manager {
namespace util {
@@ -24,7 +28,8 @@ namespace util {
// needed.
//
// Returns false if failed to open. This happens if the file type is unknown.
-bool OpenFileWithBrowser(Profile* profile, const base::FilePath& file_path);
+bool OpenFileWithBrowser(Profile* profile,
+ const storage::FileSystemURL& file_system_url);
// Checks whether a pepper plugin for |file_extension| is enabled.
bool ShouldBeOpenedWithPlugin(

Powered by Google App Engine
This is Rietveld 408576698