Support cleanup of projects that are checked out to multiple paths.

Currently if the same project is checked out to multiple locations, we
may delete the project without deleting all the places that the project
is checked out. Fix that.

BUG=chromium:333044, chromium:348870
TEST=All unit tests. Trybot run with official.xml manifest.

Change-Id: Ic6b481f20f74243d53ccd9258f9b65a488dfaf80
Previous-Reviewed-on: https://chromium-review.googlesource.com/182074
(cherry picked from commit ceafa0f3b437a97aa3049d95881f2284b7d1404f)
Reviewed-on: https://chromium-review.googlesource.com/188668
Reviewed-by: Matt Tennant <mtennant@chromium.org>
Tested-by: David James <davidjames@chromium.org>
1 file changed