Make history text searches only display urls which should be user-viewable.

Avoids including redirects or subframes in history text search results.

BUG=285059

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228891 0039d316-1c4b-4281-b951-d872f2087c98
Add more logging to diagnose the issue 269198

BUG=269198

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228892 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 228891
SVN changes up to revision 228892