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

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

Issue 293083002: Add a blob field to ServiceWorkerFetchResponse and read the blob (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: a bit closer Created 6 years, 7 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_request_handler.h
diff --git a/content/browser/service_worker/service_worker_request_handler.h b/content/browser/service_worker/service_worker_request_handler.h
index ca5ed5ed20279d348c6114613a4222e6f59a3a69..6a084cc9799feed5bdde5a2f9993bec36b1baf09 100644
--- a/content/browser/service_worker/service_worker_request_handler.h
+++ b/content/browser/service_worker/service_worker_request_handler.h
@@ -20,6 +20,7 @@ class URLRequest;
namespace content {
+class ChromeBlobStorageContext;
class ServiceWorkerContextCore;
class ServiceWorkerContextWrapper;
class ServiceWorkerProviderHost;
@@ -49,14 +50,15 @@ class CONTENT_EXPORT ServiceWorkerRequestHandler
// Creates a protocol interceptor for ServiceWorker.
static scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
- CreateInterceptor();
+ CreateInterceptor(ChromeBlobStorageContext* blob_storage_context);
virtual ~ServiceWorkerRequestHandler();
// Called via custom URLRequestJobFactory.
virtual net::URLRequestJob* MaybeCreateJob(
net::URLRequest* request,
- net::NetworkDelegate* network_delegate) = 0;
+ net::NetworkDelegate* network_delegate,
+ const scoped_refptr<ChromeBlobStorageContext>& blob_storage_context) = 0;
protected:
ServiceWorkerRequestHandler(

Powered by Google App Engine
This is Rietveld 408576698