Make sure the sync directory is deleted on sign-out.
commit6671560f497671bc28ccd50b5f1fb185a29f1248
authormaxbogue <maxbogue@chromium.org>
Fri, 7 Nov 2014 03:20:10 +0000 (6 19:20 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 7 Nov 2014 03:21:12 +0000 (7 03:21 +0000)
treee7aacdf9c1fbf3a0bf167b589e3d635a67b4be15
parentbf84acec1a337df1a07519b4f2512becbbebdad6
Make sure the sync directory is deleted on sign-out.

Previously, if the user had turned off sync before signing out, the
directory would not be deleted correctly.

BUG=424593

Review URL: https://codereview.chromium.org/682173002

Cr-Commit-Position: refs/heads/master@{#303174}
15 files changed:
chrome/browser/sync/glue/sync_backend_host.h
chrome/browser/sync/glue/sync_backend_host_core.cc
chrome/browser/sync/glue/sync_backend_host_core.h
chrome/browser/sync/glue/sync_backend_host_impl.cc
chrome/browser/sync/glue/sync_backend_host_impl.h
chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc
chrome/browser/sync/glue/sync_backend_host_mock.cc
chrome/browser/sync/glue/sync_backend_host_mock.h
chrome/browser/sync/profile_sync_components_factory_impl.cc
chrome/browser/sync/profile_sync_service.cc
chrome/browser/sync/profile_sync_service.h
chrome/browser/sync/profile_sync_service_unittest.cc
chrome/browser/sync/test/integration/single_client_directory_sync_test.cc [new file with mode: 0644]
chrome/browser/sync/test_profile_sync_service.cc
chrome/chrome_tests.gypi