Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: components/browser_sync/profile_sync_service.cc

Issue 2639393002: [Sync] Make SMTP always have the dump stack function. (Closed)
Patch Set: Rebase. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/browser_sync/profile_sync_service.cc
diff --git a/components/browser_sync/profile_sync_service.cc b/components/browser_sync/profile_sync_service.cc
index bccbad79eb2132d24d159d25566da9ad9fa1d576..d95fccdcf275cf30c22f545529571cfd7cd14f2b 100644
--- a/components/browser_sync/profile_sync_service.cc
+++ b/components/browser_sync/profile_sync_service.cc
@@ -287,7 +287,9 @@ void ProfileSyncService::Initialize() {
sync_data_folder_.Append(base::FilePath(kLevelDBFolderName))
.AsUTF8Unsafe(),
blocking_task_runner),
- base::Bind(&ModelTypeChangeProcessor::Create));
+ base::BindRepeating(
+ &ModelTypeChangeProcessor::Create,
+ base::BindRepeating(&syncer::ReportUnrecoverableError, channel_)));
} else {
device_info_sync_service_ =
base::MakeUnique<DeviceInfoSyncService>(local_device_.get());

Powered by Google App Engine
This is Rietveld 408576698