| 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..5f60e37d16a626738c7c51dfec01218323f445a8 100644
|
| --- a/content/browser/background_fetch/background_fetch_service_impl.h
|
| +++ b/content/browser/background_fetch/background_fetch_service_impl.h
|
| @@ -21,18 +21,17 @@ namespace content {
|
|
|
| class BackgroundFetchContext;
|
| struct BackgroundFetchOptions;
|
| -class ServiceWorkerContextWrapper;
|
|
|
| class BackgroundFetchServiceImpl : public blink::mojom::BackgroundFetchService {
|
| public:
|
| BackgroundFetchServiceImpl(
|
| - scoped_refptr<BackgroundFetchContext> background_fetch_context,
|
| - scoped_refptr<ServiceWorkerContextWrapper> service_worker_context);
|
| + int render_process_id,
|
| + scoped_refptr<BackgroundFetchContext> background_fetch_context);
|
| ~BackgroundFetchServiceImpl() override;
|
|
|
| static void Create(
|
| + int render_process_id,
|
| scoped_refptr<BackgroundFetchContext> background_fetch_context,
|
| - scoped_refptr<ServiceWorkerContextWrapper> service_worker_context,
|
| blink::mojom::BackgroundFetchServiceRequest request);
|
|
|
| // blink::mojom::BackgroundFetchService implementation.
|
| @@ -59,8 +58,11 @@ class BackgroundFetchServiceImpl : public blink::mojom::BackgroundFetchService {
|
| const GetTagsCallback& callback) override;
|
|
|
| private:
|
| + // Id of the renderer process that this service has been created for.
|
| + int render_process_id_;
|
| +
|
| + // The Background Fetch context on which operations will be dispatched.
|
| scoped_refptr<BackgroundFetchContext> background_fetch_context_;
|
| - scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(BackgroundFetchServiceImpl);
|
| };
|
|
|