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

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

Issue 1710733002: Move multipart resource handling to core/fetch (2/2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@multipart-cleanup
Patch Set: 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: third_party/WebKit/Source/core/fetch/ResourceLoader.h
diff --git a/third_party/WebKit/Source/core/fetch/ResourceLoader.h b/third_party/WebKit/Source/core/fetch/ResourceLoader.h
index 320c896a8e68f35be43f7d2469ba7dda0077ac80..9c38692b8f6e7b1f7bd296acd136123787b7f857 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceLoader.h
+++ b/third_party/WebKit/Source/core/fetch/ResourceLoader.h
@@ -89,8 +89,7 @@ public:
bool reachedTerminalState() const { return m_state == Terminated; }
const ResourceRequest& request() const { return m_request; }
-
- bool loadingMultipartContent() const { return m_loadingMultipartContent; }
+ void didFinishLoadingOnePart(double finishTime, int64_t encodedDataLength);
private:
// Assumes ResourceFetcher and Resource are non-null.
@@ -99,8 +98,6 @@ private:
void init(const ResourceRequest&);
void requestSynchronously();
- void didFinishLoadingOnePart(double finishTime, int64_t encodedDataLength);
-
bool responseNeedsAccessControlCheck() const;
ResourceRequest& applyOptions(ResourceRequest&) const;
@@ -114,7 +111,6 @@ private:
bool m_notifiedLoadComplete;
bool m_defersLoading;
- bool m_loadingMultipartContent;
ResourceRequest m_deferredRequest;
ResourceLoaderOptions m_options;

Powered by Google App Engine
This is Rietveld 408576698