When an SSL connect is completed, we need to call HandleCertificateError first, because it may change 'result' to 'OK' if the load flags say we should ignore that certificate error, and we want to take the 'result == OK' code path when that happens.
When an SSL connect is completed, we need to call
HandleCertificateError first, because it may change
'result' to 'OK' if the load flags say we should
ignore that certificate error, and we want to take
the 'result == OK' code path when that happens.

R=rvargas
BUG=2703
Review URL: http://codereview.chromium.org/4340

git-svn-id: http://src.chromium.org/svn/trunk/src@2705 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: ab05ee199480c6810002d2caefe5c208f14d1f9d
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser