[Sync] Split DirectoryChangeListener for thread-safety

Split DirectoryChangeListener into DirectoryChangeDelegate and
TransactionObserver classes.  This removes a remove/notify race
condition with the DirectoryChange events.

Make syncable::{Read,Write}Transaction take Locations instead of
file/line pairs.

Move construction of sync_manager_ into sync thread.

Add logging utils in sync/logging.{h,cc}.

Add overloads to ObserverListThreadSafe::Notify for 2, 3, and 4
arguments.

Fixed 'Inital' misspelling in SyncBackendHost (finally).

BUG=85656
TEST=

Review URL: http://codereview.chromium.org/7190001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89413 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 71fb13330dc1c2838b609fb8535479e535ebf2bd
1 file changed
tree: b515d16d4a53e88e458f1a3d9a44dd962fa45c22
  1. base/
  2. build/
  3. ipc/
  4. testing/
  5. third_party/