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

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

Issue 2563933003: Remove cancelWithError() from DocumentThreadableLoader (Closed)
Patch Set: Rebase, Addressed #9 Created 4 years 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 | third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
diff --git a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
index 8af7fc9ebcd5b2fec1273bad2c892849a648cb5f..bf1fb5c78199ad1bd5bb017965ced2b6b7f21cf5 100644
--- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
+++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
@@ -110,8 +110,6 @@ class CORE_EXPORT DocumentThreadableLoader final : public ThreadableLoader,
void dataDownloaded(Resource*, int) override;
void didReceiveResourceTiming(Resource*, const ResourceTimingInfo&) override;
- void cancelWithError(const ResourceError&);
-
// Notify Inspector and log to console about resource response. Use this
// method if response is not going to be finished normally.
void reportResponseReceived(unsigned long identifier,
@@ -142,7 +140,9 @@ class CORE_EXPORT DocumentThreadableLoader final : public ThreadableLoader,
// Investigates the response for the preflight request. If successful,
// the actual request will be made later in handleSuccessfulFinish().
void handlePreflightResponse(const ResourceResponse&);
- void handleError(const ResourceError&);
+
+ void dispatchDidFailAccessControlCheck(const ResourceError&);
+ void dispatchDidFail(const ResourceError&);
void loadRequestAsync(const ResourceRequest&, ResourceLoaderOptions);
void loadRequestSync(const ResourceRequest&, ResourceLoaderOptions);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698