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

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

Issue 475333002: [ServiceWorker] Sends the blob uuid of the request body to the ServiceWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve blobs 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_controllee_request_handler.h
diff --git a/content/browser/service_worker/service_worker_controllee_request_handler.h b/content/browser/service_worker/service_worker_controllee_request_handler.h
index 64f6555c6dc406fa689c15cd6419d7723e9690e1..83a8a39f519a5e117b92b2ada2aa99cc80ae4a50 100644
--- a/content/browser/service_worker/service_worker_controllee_request_handler.h
+++ b/content/browser/service_worker/service_worker_controllee_request_handler.h
@@ -15,6 +15,7 @@ class URLRequest;
namespace content {
+class ResourceRequestBody;
class ServiceWorkerRegistration;
class ServiceWorkerURLRequestJob;
class ServiceWorkerVersion;
@@ -28,7 +29,8 @@ class CONTENT_EXPORT ServiceWorkerControlleeRequestHandler
base::WeakPtr<ServiceWorkerContextCore> context,
base::WeakPtr<ServiceWorkerProviderHost> provider_host,
base::WeakPtr<webkit_blob::BlobStorageContext> blob_storage_context,
- ResourceType resource_type);
+ ResourceType resource_type,
+ scoped_refptr<ResourceRequestBody> body);
virtual ~ServiceWorkerControlleeRequestHandler();
// Called via custom URLRequestJobFactory.
@@ -59,6 +61,7 @@ class CONTENT_EXPORT ServiceWorkerControlleeRequestHandler
bool is_main_resource_load_;
scoped_refptr<ServiceWorkerURLRequestJob> job_;
+ scoped_refptr<ResourceRequestBody> body_;
base::WeakPtrFactory<ServiceWorkerControlleeRequestHandler> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerControlleeRequestHandler);

Powered by Google App Engine
This is Rietveld 408576698