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

Unified Diff: ios/web/web_state/error_translation_util.h

Issue 2096973002: [ios] Do not show SSL interstitial if cert is absent or cannot be parsed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added unittest Created 4 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 | « ios/web/ios_web_unittests.gyp ('k') | ios/web/web_state/error_translation_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ios/web/ios_web_unittests.gyp ('k') | ios/web/web_state/error_translation_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698