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

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

Issue 13859009: Adding a call to support download initiated context menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing comments Created 7 years, 8 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 9c056dde06e4a3b6829c3e6a6cf074094fd6d864..ebb4e5938833ba294fca487e8652bccdbf9cbe7e 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
@@ -24,18 +24,18 @@ public interface ContentViewDownloadDelegate {
String mimetype, String cookie, String referer, long contentLength);
/**
- * Notify the host application that a POST download is started.
+ * Notify the host application that a download is started.
*/
- void onHttpPostDownloadStarted();
+ void onDownloadStarted();
/**
- * Notify the host application that a POST download is finished.
+ * 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 onHttpPostDownloadCompleted(String url, String mimetype, String path,
+ void onDownloadCompleted(String url, String mimetype, String path,
long contentLength, boolean successful);
}

Powered by Google App Engine
This is Rietveld 408576698