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

Unified Diff: Source/core/loader/DocumentThreadableLoader.h

Issue 538473002: DevTools: NetworkPanel: headers missing for cors-cancelled requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | Source/core/loader/DocumentThreadableLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/DocumentThreadableLoader.h
diff --git a/Source/core/loader/DocumentThreadableLoader.h b/Source/core/loader/DocumentThreadableLoader.h
index f40797c2cbbe30b90969b3eca6a7af41d936da62..bf8a3caf87031598008dd431e3826d8d3cecfa86 100644
--- a/Source/core/loader/DocumentThreadableLoader.h
+++ b/Source/core/loader/DocumentThreadableLoader.h
@@ -81,6 +81,9 @@ class DocumentThreadableLoader FINAL : public ThreadableLoader, private Resource
void cancelWithError(const ResourceError&);
+ // Notify Inspector about resource response. Use this method if response is not going to be finished normally.
+ void notifyResponseReceived(unsigned long identifier, const ResourceResponse&);
+
// Methods containing code to handle resource fetch results which is
// common to both sync and async mode.
void handleResponse(unsigned long identifier, const ResourceResponse&);
@@ -96,7 +99,7 @@ class DocumentThreadableLoader FINAL : public ThreadableLoader, private Resource
void handlePreflightFailure(const String& url, const String& errorDescription);
// Investigates the response for the preflight request. If successful,
// the actual request will be made later in handleSuccessfulFinish().
- void handlePreflightResponse(unsigned long identifier, const ResourceResponse&);
+ void handlePreflightResponse(const ResourceResponse&);
void loadRequest(const ResourceRequest&, ResourceLoaderOptions);
bool isAllowedRedirect(const KURL&) const;
« no previous file with comments | « no previous file | Source/core/loader/DocumentThreadableLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698