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

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: Created 4 years, 9 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
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 019108aff26302719384fe0b00b9a5664657418a..804d1b0bb824972400e8c4443166335df08b5e83 100644
--- a/content/child/web_url_loader_impl.h
+++ b/content/child/web_url_loader_impl.h
@@ -68,6 +68,12 @@ class CONTENT_EXPORT WebURLLoaderImpl
int intra_priority_value) 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;
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698