Fixes bug in importer where we could set the default search provider
to one that doesn't support replacement. Also changed uniquing to
consider invalid OSDD urls. Need this to pick up Windows Live Search.

I also changed the ff importer to return out early on if it couldn't
find the value for the search provider. I encountered this do to
hitting a NOTREACHED.

BUG=1507
TEST=In IE set your default search to Live Search. Import from IE and
  make sure Chrome sets the default search to Live Search. Also make
  sure this didn't break keyword importing.

Review URL: http://codereview.chromium.org/4281

git-svn-id: svn://svn.chromium.org/chrome/trunk@2630 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed
tree: a58e36989f957c061d7a5e7e7de9d0d53cb16f7b
  1. depot_tools/
  2. deps/
  3. src/