Simplify external protocol blocking logic
commitede8273b6a82a72a3ae7d634fed865a34ec62d97
authorjyquinn <jyquinn@chromium.org>
Thu, 18 Jun 2015 16:08:31 +0000 (18 09:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 18 Jun 2015 16:09:01 +0000 (18 16:09 +0000)
tree8300177f1159a9dfc07e437a53a8370ae3f08fc3
parent8d41c324a5472c71852fafb59857d33d9452f4b6
Simplify external protocol blocking logic

Corrects external protocol blocking logic added in
https://codereview.chromium.org/1170853003/ to better account
for request main document URL conditions.

BUG=348640

Review URL: https://codereview.chromium.org/1182023004

Cr-Commit-Position: refs/heads/master@{#335052}
ios/web/public/web_state/crw_web_delegate.h
ios/web/web_state/ui/crw_web_controller.mm