Index: ios/web/web_state/error_translation_util.h |
diff --git a/ios/web/web_state/error_translation_util.h b/ios/web/web_state/error_translation_util.h |
index 8f8769cfb601cc3f7a9dc921632f746cd03506b5..a7664511b5cbc6204bf8b6ab9fc03a8387d5c716 100644 |
--- a/ios/web/web_state/error_translation_util.h |
+++ b/ios/web/web_state/error_translation_util.h |
@@ -15,6 +15,9 @@ namespace web { |
// specific translation of the iOS error is found. |
NSError* NetErrorFromError(NSError* error); |
+// Same as above but uses |net_error_code| for underlying error. |
+NSError* NetErrorFromError(NSError* error, NSInteger net_error_code); |
+ |
} // namespace web |
#endif // IOS_WEB_WEB_STATE_ERROR_TRANSLATION_UTIL_H_ |