Skip to content

Commit

Permalink
Issue mozilla-mobile#1968 - Convert DownloadManager to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
NotWoods committed Jun 7, 2019
1 parent 74250e7 commit 85248aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/browser/session/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ android {

dependencies {
implementation project(':concept-engine')
implementation project(':concept-fetch')
implementation project(':support-utils')
implementation project(':support-ktx')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
)

0 comments on commit 85248aa

Please sign in to comment.