diff options
author | haitaol@chromium.org <haitaol@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-25 16:22:21 +0000 |
---|---|---|
committer | haitaol@chromium.org <haitaol@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-25 16:22:21 +0000 |
commit | bfd87698e2430dcd86c355b5d2cb4a4485d59790 (patch) | |
tree | 58c89db9b99b9d469fa98a5df645e578936e6141 /sync/notifier | |
parent | f43fb604df45f0747c12b66b20976f0512ee1308 (diff) | |
download | chromium_src-bfd87698e2430dcd86c355b5d2cb4a4485d59790.zip chromium_src-bfd87698e2430dcd86c355b5d2cb4a4485d59790.tar.gz chromium_src-bfd87698e2430dcd86c355b5d2cb4a4485d59790.tar.bz2 |
Lock-free shutdown of profile sync service. Changes include:
* Disconnect non-frontend processor/associator to stop accessing directory
so that sync backend can be shut down without waiting.
* Change non-frontend controller so that creation/destruction of
processor/associator doesn't depend on valid controller. So
scoped wait on stopping controller can be removed.
* Move sync thread to PSS. It's created when starting first backend and
destroyed on last browser thread.
BUG=19757
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210333
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210955
Review URL: https://chromiumcodereview.appspot.com/16770005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213642 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/notifier')
-rw-r--r-- | sync/notifier/non_blocking_invalidator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/notifier/non_blocking_invalidator.cc b/sync/notifier/non_blocking_invalidator.cc index 2834f28..d4c602b 100644 --- a/sync/notifier/non_blocking_invalidator.cc +++ b/sync/notifier/non_blocking_invalidator.cc @@ -169,7 +169,7 @@ NonBlockingInvalidator::~NonBlockingInvalidator() { FROM_HERE, base::Bind(&NonBlockingInvalidator::Core::Teardown, core_.get()))) { - NOTREACHED(); + DVLOG(1) << "Network thread stopped before invalidator is destroyed."; } } |