summaryrefslogtreecommitdiffstats
path: root/base/callback_list_unittest.cc
diff options
context:
space:
mode:
authorkkhorimoto <kkhorimoto@chromium.org>2015-07-06 14:22:15 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-06 21:22:39 +0000
commitd70e5c4bd55edf8c901b11b6f1e0aa8f1bacdde5 (patch)
tree2786a6a36889a7356b6d7700235dd6599fca9478 /base/callback_list_unittest.cc
parentfe38fa2ac06375c45ca4fcb5dbbc0299b82fad77 (diff)
downloadchromium_src-d70e5c4bd55edf8c901b11b6f1e0aa8f1bacdde5.zip
chromium_src-d70e5c4bd55edf8c901b11b6f1e0aa8f1bacdde5.tar.gz
chromium_src-d70e5c4bd55edf8c901b11b6f1e0aa8f1bacdde5.tar.bz2
Updated error translation logic.
This CL changes several aspects of our error translation code: - Moves the actual translation process to |-loadErrorInNativeView:|. This allows the logic in |-handleLoadError:inMainFrame:| to correctly differentiate between webview-generated errors and errors originating from the net stack. - Changes |NetErrorFromError()| to translate the ultimate underlying error rather than the top-level error, and appends the translated error to the end of the passed-in error's underlying error chain. - Created |GetUltimateUnderlyingErrorForError()|, which iterates through the underlying error chain to find the original error. BUG=492434, 496972, 496115, 473888 Review URL: https://codereview.chromium.org/1178063007 Cr-Commit-Position: refs/heads/master@{#337475}
Diffstat (limited to 'base/callback_list_unittest.cc')
0 files changed, 0 insertions, 0 deletions