summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/glue/sync_backend_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/glue/sync_backend_host.cc')
-rw-r--r--chrome/browser/sync/glue/sync_backend_host.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/sync/glue/sync_backend_host.cc b/chrome/browser/sync/glue/sync_backend_host.cc
index bb4af125e..931721b 100644
--- a/chrome/browser/sync/glue/sync_backend_host.cc
+++ b/chrome/browser/sync/glue/sync_backend_host.cc
@@ -59,7 +59,8 @@ using sessions::SyncSessionSnapshot;
using sync_api::SyncCredentials;
SyncBackendHost::SyncBackendHost(Profile* profile)
- : core_(new Core(ALLOW_THIS_IN_INITIALIZER_LIST(this))),
+ : core_(new Core(profile->GetDebugName(),
+ ALLOW_THIS_IN_INITIALIZER_LIST(this))),
core_thread_("Chrome_SyncCoreThread"),
frontend_loop_(MessageLoop::current()),
profile_(profile),
@@ -699,9 +700,9 @@ void SyncBackendHost::LogUnsyncedItems(int level) const {
return core_->syncapi()->LogUnsyncedItems(level);
}
-SyncBackendHost::Core::Core(SyncBackendHost* backend)
+SyncBackendHost::Core::Core(const std::string& name, SyncBackendHost* backend)
: host_(backend),
- syncapi_(new sync_api::SyncManager()),
+ syncapi_(new sync_api::SyncManager(name)),
sync_manager_observer_(ALLOW_THIS_IN_INITIALIZER_LIST(this)),
parent_router_(NULL),
processing_passphrase_(false),