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

Unified Diff: Source/Platform/chromium/public/Platform.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/Platform/chromium/public/Platform.h
===================================================================
--- Source/Platform/chromium/public/Platform.h (revision 148844)
+++ Source/Platform/chromium/public/Platform.h (working copy)
@@ -77,6 +77,7 @@
class WebThemeEngine;
class WebThread;
class WebURL;
+class WebURLError;
class WebURLLoader;
class WebWorkerRunLoop;
struct WebFloatPoint;
@@ -272,7 +273,9 @@
// A suggestion to cache this metadata in association with this URL.
virtual void cacheMetadata(const WebURL&, double responseTime, const char* data, size_t dataSize) { }
+ virtual WebURLError cancelledError(const WebURL&) const;
+
// Plugins -------------------------------------------------------------
// If refresh is true, then cached information should not be used to

Powered by Google App Engine
This is Rietveld 408576698