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

Unified Diff: content/browser/service_worker/service_worker_dispatcher_host.h

Issue 459003002: Plumbs URLRequestContext and CacheBlobStorageContext down to cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cache1
Patch Set: Addresses michaeln's comments from PS5 Created 6 years, 4 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/service_worker/service_worker_dispatcher_host.h
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.h b/content/browser/service_worker/service_worker_dispatcher_host.h
index f9cace41ce7bea263845f52475def8766b5b0cf5..d9b34934fa73a71b9749e16b5a8e11d7f2d145e5 100644
--- a/content/browser/service_worker/service_worker_dispatcher_host.h
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h
@@ -16,8 +16,13 @@
class GURL;
struct EmbeddedWorkerHostMsg_ReportConsoleMessage_Params;
+namespace net {
+class URLRequestContextGetter;
+}
+
namespace content {
+class ChromeBlobStorageContext;
class MessagePortMessageFilter;
class ServiceWorkerContextCore;
class ServiceWorkerContextWrapper;
@@ -31,7 +36,9 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter {
int render_process_id,
MessagePortMessageFilter* message_port_message_filter);
- void Init(ServiceWorkerContextWrapper* context_wrapper);
+ void Init(ServiceWorkerContextWrapper* context_wrapper,
+ net::URLRequestContextGetter* request_context,
+ ChromeBlobStorageContext* blob_storage);
// BrowserMessageFilter implementation
virtual void OnFilterAdded(IPC::Sender* sender) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698