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

Unified Diff: Source/platform/exported/WebURLError.cpp

Issue 1178273007: Add a flag for when a navigation is ignored (e.g. by shouldOverrideUrl). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/platform/network/ResourceError.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebURLError.cpp
diff --git a/Source/platform/exported/WebURLError.cpp b/Source/platform/exported/WebURLError.cpp
index 071984d6fa360cd2168e319a2c3976a17da9d2b5..2030eb74977569e2ebf5d4d49247d1513b3cf26e 100644
--- a/Source/platform/exported/WebURLError.cpp
+++ b/Source/platform/exported/WebURLError.cpp
@@ -53,6 +53,7 @@ WebURLError& WebURLError::operator=(const ResourceError& error)
isCancellation = error.isCancellation();
staleCopyInCache = error.staleCopyInCache();
localizedDescription = error.localizedDescription();
+ wasIgnoredByHandler = error.wasIgnoredByHandler();
}
return *this;
}
@@ -65,6 +66,7 @@ WebURLError::operator ResourceError() const
ResourceError resourceError = ResourceError(domain, reason, String::fromUTF8(spec.data(), spec.length()), localizedDescription);
resourceError.setIsCancellation(isCancellation);
resourceError.setStaleCopyInCache(staleCopyInCache);
+ resourceError.setWasIgnoredByHandler(wasIgnoredByHandler);
return resourceError;
}
« no previous file with comments | « no previous file | Source/platform/network/ResourceError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698