Simplify AreURLsInPageNavigation

The first case guarantees we trust the renderer's definition of an in-page navigation if the urls before and after navigation are on the same origin. An in-page navigation is impossible cross-origin, so this single check is sufficient.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279232 0039d316-1c4b-4281-b951-d872f2087c98
7 files changed