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

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
« no previous file with comments | « no previous file | Source/WebKit/chromium/public/WebFrameClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/Platform/chromium/public/Platform.h
===================================================================
--- Source/Platform/chromium/public/Platform.h (revision 148828)
+++ Source/Platform/chromium/public/Platform.h (working copy)
@@ -272,7 +272,10 @@
// 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 int cancelledErrorCode() const { return 0; }
+ virtual const char* cancelledErrorDomain() const { return "net"; }
Nate Chapin 2013/04/22 16:13:41 It may be cheating to have Platform calls for both
+
// Plugins -------------------------------------------------------------
// If refresh is true, then cached information should not be used to
« no previous file with comments | « no previous file | Source/WebKit/chromium/public/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698