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

Unified Diff: trunk/src/chrome/browser/download/download_item_model.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_item_model.h
===================================================================
--- trunk/src/chrome/browser/download/download_item_model.h (revision 233496)
+++ trunk/src/chrome/browser/download/download_item_model.h (working copy)
@@ -126,18 +126,6 @@
// Change what's returned by ShouldNotifyUI().
void SetShouldNotifyUI(bool should_notify);
- // Returns |true| if opening in the browser is preferred for this download. If
- // |false|, the download should be opened with the system default application.
- bool ShouldPreferOpeningInBrowser() const;
-
- // Change what's returned by ShouldPreferOpeningInBrowser to |preference|.
- void SetShouldPreferOpeningInBrowser(bool preference);
-
- // Open the download using the platform handler for the download. The behavior
- // of this method will be different from DownloadItem::OpenDownload() if
- // ShouldPreferOpeningInBrowser().
- void OpenUsingPlatformHandler();
-
content::DownloadItem* download() { return download_; }
private:

Powered by Google App Engine
This is Rietveld 408576698