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

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

Issue 14495011: Revert "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.cpp
diff --git a/Source/core/platform/network/ResourceError.cpp b/Source/core/platform/network/ResourceError.cpp
index 05b5bd58a5d29c3f5049861d8fea066eaa808194..6d5c4ae8c74adf2df7ca7bbe91ab1c58eed64773 100644
--- a/Source/core/platform/network/ResourceError.cpp
+++ b/Source/core/platform/network/ResourceError.cpp
@@ -27,20 +27,10 @@
#include "config.h"
#include "core/platform/network/ResourceError.h"
-#include "core/platform/KURL.h"
-#include <public/Platform.h>
-#include <public/WebURL.h>
-#include <public/WebURLError.h>
-
namespace WebCore {
const char* const errorDomainWebKitInternal = "WebKitInternal";
-ResourceError ResourceError::cancelledError(const String& failingURL)
-{
- return WebKit::Platform::current()->cancelledError(KURL(ParsedURLString, failingURL));
-}
-
ResourceError ResourceError::copy() const
{
ResourceError errorCopy;
« no previous file with comments | « Source/core/platform/network/ResourceError.h ('k') | Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698