Ensure that SequencedWorkerPools in tests don't outlive their tests
This prevents strange races with other tests.
Add an OnDestroy() method to SequencedWorkerPool::TestingObserver().
Fix a bug where one test wasn't calling Shutdown() on its
WorkerPools.
Fix a deadlock if a Worker object releases the last ref to the WorkerPool.
BUG=115987
TEST=
Review URL: http://codereview.chromium.org/9558007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125152 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: 71b18fbce8dee85bf5c07ca835e2f679fbff50ff
3 files changed