Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Merge #4543
Browse files Browse the repository at this point in the history
4543: Issue #4282: Remove browser-session dependency from feature-downloads r=pocmo a=csadilek

Just some cleanup we missed? in #4282

Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
  • Loading branch information
MozLando and csadilek committed Sep 26, 2019
2 parents 317e7c7 + e4a4375 commit 7c62d36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion components/feature/downloads/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {

dependencies {

implementation project(':browser-session')
implementation project(':browser-state')
implementation project(':concept-fetch')
implementation project(':support-ktx')
implementation project(':support-base')
implementation project(':support-utils')

implementation Dependencies.androidx_core_ktx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

package mozilla.components.feature.downloads

import mozilla.components.browser.session.Session
import mozilla.components.browser.state.action.ContentAction
import mozilla.components.browser.state.store.BrowserStore

Expand All @@ -20,7 +19,7 @@ class DownloadsUseCases(
private val store: BrowserStore
) {
/**
* Consumes the [Download] with the given [downloadId] from the [Session] with the given
* Consumes the download with the given [downloadId] from the session with the given
* [tabId].
*/
operator fun invoke(tabId: String, downloadId: String) {
Expand Down

0 comments on commit 7c62d36

Please sign in to comment.