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

Unified Diff: content/child/blink_platform_impl.cc

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/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index 6474a7f8741570ee5ae6e789be4967cf5af72759..fdef01be48c9f90b590c38f1e231fd11dc388b51 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -467,6 +467,15 @@ bool BlinkPlatformImpl::portAllowed(const blink::WebURL& url) const {
return net::IsPortAllowedForScheme(gurl.EffectiveIntPort(), gurl.scheme());
}
+bool BlinkPlatformImpl::parseMultipartHeadersFromBody(
+ const char* bytes,
+ size_t size,
+ blink::WebURLResponse* response,
+ size_t* end) const {
+ return WebURLLoaderImpl::ParseMultipartHeadersFromBody(
+ bytes, size, response, end);
+}
+
blink::WebThread* BlinkPlatformImpl::createThread(const char* name) {
scoped_ptr<WebThreadImplForWorkerScheduler> thread(
new WebThreadImplForWorkerScheduler(name));

Powered by Google App Engine
This is Rietveld 408576698