diff options
Diffstat (limited to 'chromium/content/common/service_worker/service_worker_loader_helpers.h')
-rw-r--r-- | chromium/content/common/service_worker/service_worker_loader_helpers.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chromium/content/common/service_worker/service_worker_loader_helpers.h b/chromium/content/common/service_worker/service_worker_loader_helpers.h index 3654e07fcfe..a709385b4f2 100644 --- a/chromium/content/common/service_worker/service_worker_loader_helpers.h +++ b/chromium/content/common/service_worker/service_worker_loader_helpers.h @@ -12,7 +12,6 @@ #include "third_party/blink/public/mojom/blob/blob.mojom.h" namespace network { -class ResourceRequestBody; struct ResourceRequest; struct ResourceResponseHead; } @@ -49,15 +48,6 @@ class ServiceWorkerLoaderHelpers { const net::HttpRequestHeaders& headers, base::OnceCallback<void(int net_error)> on_blob_read_complete, mojo::ScopedDataPipeConsumerHandle* handle_out); - - // Returns a new copy of the given body. This is useful for service worker - // with NetworkService because it sends the ResourceRequestBody over Mojo IPC, - // which moves out the DataPipeGetter elements in the Pickle code in - // resources_messages.cc. We can't change the Pickle code to call - // DataPipeGetter's Clone method because that code can run on different thread - // than the DataPipeGetter. - static scoped_refptr<network::ResourceRequestBody> CloneResourceRequestBody( - const network::ResourceRequestBody* body); }; } // namespace content |