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

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

Issue 2038813003: Making ResourceRequestBody part of //content's public API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 6 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/foreign_fetch_request_handler.h
diff --git a/content/browser/service_worker/foreign_fetch_request_handler.h b/content/browser/service_worker/foreign_fetch_request_handler.h
index 786266d7241764579233f1584ee577a87025d391..d9216ffb0b1c66f9fb81caca7d36e7f8074fb338 100644
--- a/content/browser/service_worker/foreign_fetch_request_handler.h
+++ b/content/browser/service_worker/foreign_fetch_request_handler.h
@@ -31,7 +31,7 @@ class BlobStorageContext;
namespace content {
class ResourceContext;
-class ResourceRequestBody;
+class ResourceRequestBodyImpl;
class ServiceWorkerContextCore;
class ServiceWorkerContextWrapper;
class ServiceWorkerProviderHost;
@@ -61,7 +61,7 @@ class CONTENT_EXPORT ForeignFetchRequestHandler
ResourceType resource_type,
RequestContextType request_context_type,
RequestContextFrameType frame_type,
- scoped_refptr<ResourceRequestBody> body,
+ scoped_refptr<ResourceRequestBodyImpl> body,
bool initiated_in_secure_context);
// Returns the handler attached to |request|. This may return null
@@ -89,7 +89,7 @@ class CONTENT_EXPORT ForeignFetchRequestHandler
ResourceType resource_type,
RequestContextType request_context_type,
RequestContextFrameType frame_type,
- scoped_refptr<ResourceRequestBody> body);
+ scoped_refptr<ResourceRequestBodyImpl> body);
// Called when a ServiceWorkerRegistration has (or hasn't) been found for the
// request being handled.
@@ -115,7 +115,7 @@ class CONTENT_EXPORT ForeignFetchRequestHandler
FetchRedirectMode redirect_mode_;
RequestContextType request_context_type_;
RequestContextFrameType frame_type_;
- scoped_refptr<ResourceRequestBody> body_;
+ scoped_refptr<ResourceRequestBodyImpl> body_;
base::WeakPtr<ServiceWorkerURLRequestJob> job_;
scoped_refptr<ServiceWorkerVersion> target_worker_;

Powered by Google App Engine
This is Rietveld 408576698