diff options
author | skrul@chromium.org <skrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-29 19:12:41 +0000 |
---|---|---|
committer | skrul@chromium.org <skrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-29 19:12:41 +0000 |
commit | f0185941daa7ec11b8521b0a5e2fd710a42612ac (patch) | |
tree | f2289866b3d12b753377074230f5487e1a33e1bf /webkit/data | |
parent | 0973d960eed1ca6d852e0b4fb9acdfcf2db3adee (diff) | |
download | chromium_src-f0185941daa7ec11b8521b0a5e2fd710a42612ac.zip chromium_src-f0185941daa7ec11b8521b0a5e2fd710a42612ac.tar.gz chromium_src-f0185941daa7ec11b8521b0a5e2fd710a42612ac.tar.bz2 |
Change WDS to use the DB thread rather than its own thread.
This cleanup was requested by brettw and was started to make it easier for the sync service to post tasks to the WDS thread (now the DB thread). This simplifies the WDS a bit since it no longer has to manage its own thread, and can assume that the DB thread is running throughout its lifetime.
One change in behavior that is significant is that previous to this change, the WDS worker thread would always be joined when Shutdown() was called from Profile::~Profile(). Now the Shutdown() method schedules a task that can extend the lifetime of the WDS past the lifetime of the Profile instance.
Review URL: http://codereview.chromium.org/524003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35339 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/data')
0 files changed, 0 insertions, 0 deletions