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

Unified Diff: content/child/web_url_loader_impl.h

Issue 1693183002: Move multipart resource handling to core/fetch (1/2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@multipart-cleanup-preliminary
Patch Set: rebase Created 4 years, 10 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/child/web_url_loader_impl.h
diff --git a/content/child/web_url_loader_impl.h b/content/child/web_url_loader_impl.h
index 290ad993bf65fccadb958d54d2ad27083c599c05..defcf8b24b7606fa1a91b43a618e6f590ab6cc44 100644
--- a/content/child/web_url_loader_impl.h
+++ b/content/child/web_url_loader_impl.h
@@ -70,6 +70,12 @@ class CONTENT_EXPORT WebURLLoaderImpl
blink::WebThreadedDataReceiver* threaded_data_receiver) override;
void setLoadingTaskRunner(blink::WebTaskRunner* loading_task_runner) override;
+ // This is a utility function for multipart image resources.
+ static bool ParseMultipartHeadersFromBody(const char* bytes,
+ size_t size,
+ blink::WebURLResponse* response,
+ size_t* end);
+
private:
class Context;
class RequestPeerImpl;

Powered by Google App Engine
This is Rietveld 408576698