2019-08-03 02:28:30 +02:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
package org.mozilla.fenix.downloads
|
|
|
|
|
2020-05-27 21:44:54 +02:00
|
|
|
import mozilla.components.browser.state.store.BrowserStore
|
2019-08-03 02:28:30 +02:00
|
|
|
import mozilla.components.feature.downloads.AbstractFetchDownloadService
|
|
|
|
import org.mozilla.fenix.ext.components
|
|
|
|
|
|
|
|
class DownloadService : AbstractFetchDownloadService() {
|
|
|
|
override val httpClient by lazy { components.core.client }
|
2020-05-27 21:44:54 +02:00
|
|
|
override val store: BrowserStore by lazy { components.core.store }
|
2019-08-03 02:28:30 +02:00
|
|
|
}
|