[Sync] Replace uses of ObserverListThreadSafe with WeakHandles
ObserverListThreadSafe was overkill since there was only two threads involved, and only one observer. Add MessageLoop member variables to various test classes that need it (ObserverListThreadSafe had a hack that made it unnecessary before.) BUG=103732 TEST=Start with a clean profile and set up sync. about:profiler shouldn't show ObserverListThreadSafe::Notify calls with sync threads anymore. Review URL: http://codereview.chromium.org/8586014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110836 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment