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

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, 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/ResourceLoader.h
diff --git a/third_party/WebKit/Source/core/fetch/ResourceLoader.h b/third_party/WebKit/Source/core/fetch/ResourceLoader.h
index 109c31b615cb03bb387c4d0aa00677665b7f99cb..53fb31cfb5d7a469d36e263ff8ba130a0589184f 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceLoader.h
+++ b/third_party/WebKit/Source/core/fetch/ResourceLoader.h
@@ -75,7 +75,7 @@ public:
void didFail(WebURLLoader*, const WebURLError&) override;
void didDownloadData(WebURLLoader*, int, int) override;
- bool loadingMultipartContent() const { return m_loadingMultipartContent; }
+ void didFinishLoadingOnePart(double finishTime, int64_t encodedDataLength);
private:
// Assumes ResourceFetcher and Resource are non-null.
@@ -83,8 +83,6 @@ private:
void requestSynchronously(ResourceRequest&);
- void didFinishLoadingOnePart(double finishTime, int64_t encodedDataLength);
-
bool responseNeedsAccessControlCheck() const;
ResourceRequest& applyOptions(ResourceRequest&) const;
@@ -96,8 +94,6 @@ private:
bool m_notifiedLoadComplete;
- bool m_loadingMultipartContent;
-
enum ConnectionState {
ConnectionStateNew,
ConnectionStateStarted,
« no previous file with comments | « third_party/WebKit/Source/core/fetch/Resource.cpp ('k') | third_party/WebKit/Source/core/fetch/ResourceLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698