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

Unified Diff: third_party/WebKit/public/platform/Platform.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 | « third_party/WebKit/Source/core/fetch/MultipartImageResourceParserTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index 30192bf145d0968dd520164b51220c873edd4c54..552f2dd8e874800cbef52ab555894a18d09ac3b1 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -120,6 +120,7 @@ class WebThread;
class WebTrialTokenValidator;
class WebURL;
class WebURLLoader;
+class WebURLResponse;
class WebUnitTestSupport;
struct WebLocalizedString;
struct WebSize;
@@ -322,6 +323,10 @@ public:
virtual bool portAllowed(const WebURL&) const { return false; }
+ // Returns true and stores the position of the end of the headers to |*end|
+ // if the headers part ends in |bytes[0..size]|. Returns false otherwise.
+ virtual bool parseMultipartHeadersFromBody(const char* bytes, size_t /* size */, WebURLResponse*, size_t* end) const { return false; }
+
// Plugins -------------------------------------------------------------
// If refresh is true, then cached information should not be used to
« no previous file with comments | « third_party/WebKit/Source/core/fetch/MultipartImageResourceParserTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698