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

Unified Diff: third_party/WebKit/Source/core/fetch/MultipartImageResourceParser.h

Issue 1756953002: Stop dispatching notifyFinished for each part in a multipart response (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@multipart-cleanup-2
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
Index: third_party/WebKit/Source/core/fetch/MultipartImageResourceParser.h
diff --git a/third_party/WebKit/Source/core/fetch/MultipartImageResourceParser.h b/third_party/WebKit/Source/core/fetch/MultipartImageResourceParser.h
index 92db211febe54625ad92d1051511806ccc8faa78..c59e7a3051215c990515a5fa35373936397a5e36 100644
--- a/third_party/WebKit/Source/core/fetch/MultipartImageResourceParser.h
+++ b/third_party/WebKit/Source/core/fetch/MultipartImageResourceParser.h
@@ -55,7 +55,7 @@ public:
class CORE_EXPORT Client : public WillBeGarbageCollectedMixin {
public:
virtual ~Client() = default;
- virtual void onePartInMultipartReceived(const ResourceResponse&, bool isFirstPart) = 0;
+ virtual void onePartInMultipartReceived(const ResourceResponse&) = 0;
virtual void multipartDataReceived(const char* bytes, size_t) = 0;
DEFINE_INLINE_VIRTUAL_TRACE() {}
};
@@ -85,7 +85,6 @@ private:
bool m_isParsingTop = true;
bool m_isParsingHeaders = false;
bool m_sawLastBoundary = false;
- bool m_isFirstPart = true;
bool m_isCancelled = false;
};

Powered by Google App Engine
This is Rietveld 408576698