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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewDownloadDelegate.java

Issue 16140026: fix a problem that download dangerous files in a blank page can fail with authentication (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove public keyword from interface Created 7 years, 7 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: content/public/android/java/src/org/chromium/content/browser/ContentViewDownloadDelegate.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewDownloadDelegate.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewDownloadDelegate.java
index 46c3e97fb853e709b27928aa500fd6b9166eafa0..ef2b908057afa99317c6cf79f201bb6baa983d20 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewDownloadDelegate.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewDownloadDelegate.java
@@ -25,19 +25,10 @@ public interface ContentViewDownloadDelegate {
/**
* Notify the host application that a download is started.
+ * @param filename File name of the downloaded file.
+ * @param mimeType Mime of the downloaded item.
*/
- void onDownloadStarted();
-
- /**
- * Notify the host application that a download is finished.
- * @param url The full url to the content that was downloaded.
- * @param mimetype The mimetype of downloaded file.
- * @param path Path of the downloaded file.
- * @param contentLength The file size of the downloaded file (in bytes).
- * @param successful Whether the download succeeded
- */
- void onDownloadCompleted(String url, String mimetype, String path,
- long contentLength, boolean successful);
+ void onDownloadStarted(String filename, String mimeType);
/**
* Notify the host application that a download has an extension indicating

Powered by Google App Engine
This is Rietveld 408576698