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

Unified Diff: content/browser/background_fetch/background_fetch_service_impl.h

Issue 2770343002: Teach Background Fetch how to start a new fetch. (Closed)
Patch Set: Teach Background Fetch how to start a new fetch. Created 3 years, 9 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/browser/background_fetch/background_fetch_service_impl.h
diff --git a/content/browser/background_fetch/background_fetch_service_impl.h b/content/browser/background_fetch/background_fetch_service_impl.h
index de6299b8c5cc9ee7dd51b3371bd464b4d033d181..c9dd5bf82f0b52095764bb2471a307bc72e233a6 100644
--- a/content/browser/background_fetch/background_fetch_service_impl.h
+++ b/content/browser/background_fetch/background_fetch_service_impl.h
@@ -25,14 +25,12 @@ class ServiceWorkerContextWrapper;
class BackgroundFetchServiceImpl : public blink::mojom::BackgroundFetchService {
public:
- BackgroundFetchServiceImpl(
- scoped_refptr<BackgroundFetchContext> background_fetch_context,
- scoped_refptr<ServiceWorkerContextWrapper> service_worker_context);
+ explicit BackgroundFetchServiceImpl(
+ scoped_refptr<BackgroundFetchContext> background_fetch_context);
~BackgroundFetchServiceImpl() override;
static void Create(
scoped_refptr<BackgroundFetchContext> background_fetch_context,
- scoped_refptr<ServiceWorkerContextWrapper> service_worker_context,
blink::mojom::BackgroundFetchServiceRequest request);
// blink::mojom::BackgroundFetchService implementation.
@@ -60,7 +58,6 @@ class BackgroundFetchServiceImpl : public blink::mojom::BackgroundFetchService {
private:
scoped_refptr<BackgroundFetchContext> background_fetch_context_;
- scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_;
DISALLOW_COPY_AND_ASSIGN(BackgroundFetchServiceImpl);
};

Powered by Google App Engine
This is Rietveld 408576698