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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/file_manager_util.h

Issue 22893048: file_manager: Split the open with browser stuff into a set of separate files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 years, 4 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/extensions/file_manager/file_manager_util.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/file_manager_util.h b/chrome/browser/chromeos/extensions/file_manager/file_manager_util.h
index 681ef4c4fb109c6691e1262a1b560f5b6da71871..0db5399cf37829e09ec3981e40f6de3855814235 100644
--- a/chrome/browser/chromeos/extensions/file_manager/file_manager_util.h
+++ b/chrome/browser/chromeos/extensions/file_manager/file_manager_util.h
@@ -42,23 +42,6 @@ void OpenItem(const base::FilePath& file_path);
// |file_path|, with the item selected.
void ShowItemInFolder(const base::FilePath& file_path);
-// Opens the file specified by |file_path| with the browser. This function takes
-// care of the following intricacies:
-//
-// - If the file is a Drive hosted document, the hosted document will be
-// opened in the browser by extracting the right URL for the file.
-// - If the file is a CRX file, the CRX file will be installed.
-// - If the file is on Drive, the file will be downloaded from Drive as
-// needed.
-//
-// Returns false if failed to open. This happens if the file type is unknown.
-bool OpenFileWithBrowser(Browser* browser, const base::FilePath& file_path);
-
-// Checks whether a pepper plugin for |file_extension| is enabled.
-bool ShouldBeOpenedWithPlugin(
- Profile* profile,
- const base::FilePath::StringType& file_extension);
-
// Returns the MIME type of |file_path|. Returns "" if the MIME type is
// unknown.
std::string GetMimeTypeForPath(const base::FilePath& file_path);

Powered by Google App Engine
This is Rietveld 408576698