[Mac] Fix a crash in collected cookies dialog.

Deleting the child nodes of parents that have already been deleted is a problem,
so normalize the array of selected nodes to only contain parents.

BUG=333162
TEST=Go to google.com, click the lock on, and click "Show cookies". Expand two
     levels of the tree and select from the root to the leaf, and then click
     "Remove".

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244646 0039d316-1c4b-4281-b951-d872f2087c98
A CL that caused writes to LocalState during startup was causing browser_test crashes because there would often be uncommitted LocalState changes during shutdown.

In that CL a hack was used to fix this - force commits immediately after those changes (which were expected to be one-time only).

But the one-time changes were actually on every startup and potentially high volume so the many commits were causing significant performance regressions.

This CL fixes the root of the problem. Before shutting down the worker threads, we should schedule a commit of LocalState.

BUG=331273,330908,331766,332093,330795

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244647 0039d316-1c4b-4281-b951-d872f2087c98
Change the output of the bisect results to use links to the svn revision (if available) rather than the git hash.

Example output:

Other regressions may have occurred:
   Depot                                    Range                                   Confidence
  chromium     http://src.chromium.org/viewvc/chrome?view=revision&revision=240333     0%    
  chromium     http://src.chromium.org/viewvc/chrome?view=revision&revision=240379


Tested commits:
         Depot                                        Commit SHA                                    Mean       Std. Error       State    
        chromium         http://src.chromium.org/viewvc/chrome?view=revision&revision=240379        0.00         +-0.00                  
        chromium         http://src.chromium.org/viewvc/chrome?view=revision&revision=240333        0.00         +-0.00                  
        chromium         http://src.chromium.org/viewvc/chrome?view=revision&revision=240303        0.00         +-0.00                  
        chromium         http://src.chromium.org/viewvc/chrome?view=revision&revision=240292        0.00         +-0.00                  
        chromium         http://src.chromium.org/viewvc/chrome?view=revision&revision=240286        0.00         +-0.00                  
        chromium         http://src.chromium.org/viewvc/chrome?view=revision&revision=240283        0.00         +-0.00                  
        chromium         http://src.chromium.org/viewvc/chrome?view=revision&revision=240282        0.00         +-0.00                  
        chromium         http://src.chromium.org/viewvc/chrome?view=revision&revision=240281        0.00         +-0.00                  
        chromium         http://src.chromium.org/viewvc/chrome?view=revision&revision=240280        0.00         +-0.00                  

Average build time : 0:00:00
Average test time  : 0:00:00


BUG=332989
NOTRY=true

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

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