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

Unified Diff: content/browser/service_worker/service_worker_provider_host.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_provider_host.h
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h
index c417fc72439b3f3fc0a0c84962f8aae1eec8a165..8d20be0d1ee2987753e881b8faebff79beb843a7 100644
--- a/content/browser/service_worker/service_worker_provider_host.h
+++ b/content/browser/service_worker/service_worker_provider_host.h
@@ -25,6 +25,7 @@ class BlobStorageContext;
namespace content {
+class ResourceRequestBody;
class ServiceWorkerContextCore;
class ServiceWorkerDispatcherHost;
class ServiceWorkerRequestHandler;
@@ -92,7 +93,8 @@ class CONTENT_EXPORT ServiceWorkerProviderHost
// the request doesn't require special handling.
scoped_ptr<ServiceWorkerRequestHandler> CreateRequestHandler(
ResourceType resource_type,
- base::WeakPtr<webkit_blob::BlobStorageContext> blob_storage_context);
+ base::WeakPtr<webkit_blob::BlobStorageContext> blob_storage_context,
+ scoped_refptr<ResourceRequestBody> body);
// Returns true if |registration| can be associated with this provider.
bool CanAssociateRegistration(ServiceWorkerRegistration* registration);

Powered by Google App Engine
This is Rietveld 408576698