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

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: 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
deleted file mode 100644
index 857b4aa604fa4b02717c938ec988eb26241bbe86..0000000000000000000000000000000000000000
--- a/ios/web/web_state/error_translation_util.h
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef IOS_WEB_WEB_STATE_ERROR_TRANSLATION_UTIL_H_
-#define IOS_WEB_WEB_STATE_ERROR_TRANSLATION_UTIL_H_
-
-#import <Foundation/Foundation.h>
-
-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.
-NSError* NetErrorFromError(NSError* error);
-
-} // namespace web
-
-#endif // IOS_WEB_WEB_STATE_ERROR_TRANSLATION_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698