Index: ios/web/web_state/ui/crw_web_controller+protected.h |
diff --git a/ios/web/web_state/ui/crw_web_controller+protected.h b/ios/web/web_state/ui/crw_web_controller+protected.h |
index 192750db5f8a09e9e169f620cbf92a25c3b9b38c..f543dbe1d0696e999b0345b2b1c2aa7f7ad5358e 100644 |
--- a/ios/web/web_state/ui/crw_web_controller+protected.h |
+++ b/ios/web/web_state/ui/crw_web_controller+protected.h |
@@ -160,9 +160,9 @@ struct NewWindowInfo { |
- (void)applyWebViewScrollZoomScaleFromZoomState: |
(const web::PageZoomState&)zoomState; |
-// Returns YES if load should be aborted when NSURLCancelledError is |
-// encountered for |cancelledURL|. |
-- (BOOL)shouldAbortLoadForCancelledURL:(const GURL&)cancelledURL; |
+// Used to decide whether a load that generates errors with the |
+// NSURLErrorCancelled code should be cancelled. |
+- (BOOL)shouldAbortLoadForCancelledError:(NSError*)cancelledError; |
#pragma mark - Optional methods for subclasses |
// Subclasses may overwrite methods in this section. |