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

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

Issue 1178063007: Updated error translation logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Eugene's comments 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
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 857b4aa604fa4b02717c938ec988eb26241bbe86..7432b1a5b418c30f56e35f2c6804d51ffe6a4777 100644
--- a/ios/web/web_state/error_translation_util.h
+++ b/ios/web/web_state/error_translation_util.h
@@ -11,8 +11,8 @@ namespace web {
// Translates iOS-specific errors into their net error equivalent. If a valid
// translation is found, a copy of |error| is returned with the translation as
-// its underlying error. If there is no viable translation, the original error
-// is returned.
+// its ultimate underlying error. If there is no viable translation, the
Eugene But (OOO till 7-30) 2015/06/23 21:27:14 s/ultimate/final
kkhorimoto 2015/06/24 20:01:42 Done.
+// original error is returned.
NSError* NetErrorFromError(NSError* error);
} // namespace web

Powered by Google App Engine
This is Rietveld 408576698