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

Unified Diff: Source/core/platform/network/ResourceError.h

Issue 14264012: Create errors (especially cancellation errors) internally to WebCore, rather (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Created 7 years, 8 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: Source/core/platform/network/ResourceError.h
===================================================================
--- Source/core/platform/network/ResourceError.h (revision 148844)
+++ Source/core/platform/network/ResourceError.h (working copy)
@@ -35,6 +35,8 @@
class ResourceError {
public:
+ static ResourceError cancelledError(const String& failingURL);
+
ResourceError()
: m_errorCode(0)
, m_isNull(true)

Powered by Google App Engine
This is Rietveld 408576698