diff --git a/components/browser/session/build.gradle b/components/browser/session/build.gradle index 454bac51c20..246ffb9f920 100644 --- a/components/browser/session/build.gradle +++ b/components/browser/session/build.gradle @@ -23,6 +23,7 @@ android { dependencies { implementation project(':concept-engine') + implementation project(':concept-fetch') implementation project(':support-utils') implementation project(':support-ktx') diff --git a/components/browser/session/src/main/java/mozilla/components/browser/session/Download.kt b/components/browser/session/src/main/java/mozilla/components/browser/session/Download.kt index ba58005914a..2aaf2e6362b 100644 --- a/components/browser/session/src/main/java/mozilla/components/browser/session/Download.kt +++ b/components/browser/session/src/main/java/mozilla/components/browser/session/Download.kt @@ -5,6 +5,7 @@ package mozilla.components.browser.session import android.os.Environment +import mozilla.components.concept.fetch.Response /** * Value type that represents a Download. @@ -22,5 +23,6 @@ data class Download( val contentType: String? = null, val contentLength: Long? = null, val userAgent: String? = null, - val destinationDirectory: String = Environment.DIRECTORY_DOWNLOADS + val destinationDirectory: String = Environment.DIRECTORY_DOWNLOADS, + val response: Response? = null )