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

Unified Diff: trunk/src/chrome/browser/download/download_target_determiner_delegate.h

Issue 61623006: Revert 233460 "Prefer opening PDF downloads in the browser." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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/download/download_target_determiner_delegate.h
===================================================================
--- trunk/src/chrome/browser/download/download_target_determiner_delegate.h (revision 233496)
+++ trunk/src/chrome/browser/download/download_target_determiner_delegate.h (working copy)
@@ -62,11 +62,6 @@
typedef base::Callback<void(content::DownloadDangerType danger_type)>
CheckDownloadUrlCallback;
- // Callback to be invoked after GetFileMimeType() completes. The parameter
- // should be the MIME type of the requested file. If no MIME type can be
- // determined, it should be set to the empty string.
- typedef base::Callback<void(const std::string&)> GetFileMimeTypeCallback;
-
// Notifies extensions of the impending filename determination. |virtual_path|
// is the current suggested virtual path. The |callback| should be invoked to
// indicate whether any extensions wish to override the path.
@@ -115,9 +110,6 @@
const base::FilePath& virtual_path,
const CheckDownloadUrlCallback& callback) = 0;
- // Get the MIME type for the given file.
- virtual void GetFileMimeType(const base::FilePath& path,
- const GetFileMimeTypeCallback& callback) = 0;
protected:
virtual ~DownloadTargetDeterminerDelegate();
};

Powered by Google App Engine
This is Rietveld 408576698