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

Unified Diff: components/sync_driver/glue/sync_backend_host_impl.cc

Issue 1849563005: [Sync] Add cookie jar mismatch logging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests again Created 4 years, 8 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/sync_driver/glue/sync_backend_host_impl.cc
diff --git a/components/sync_driver/glue/sync_backend_host_impl.cc b/components/sync_driver/glue/sync_backend_host_impl.cc
index 2e73078c631da29a7deb487a7cd535e55003937e..5bf3046420fd77c71e419b8a0b5975c9bb841dd2 100644
--- a/components/sync_driver/glue/sync_backend_host_impl.cc
+++ b/components/sync_driver/glue/sync_backend_host_impl.cc
@@ -853,6 +853,13 @@ void SyncBackendHostImpl::ClearServerData(
core_.get(), callback));
}
+void SyncBackendHostImpl::OnCookieJarChanged(bool account_mismatch) {
+ DCHECK(ui_thread_->BelongsToCurrentThread());
+ registrar_->sync_thread()->task_runner()->PostTask(
+ FROM_HERE, base::Bind(&SyncBackendHostCore::DoOnCookieJarChanged,
+ core_.get(), account_mismatch));
+}
+
void SyncBackendHostImpl::ClearServerDataDoneOnFrontendLoop(
const syncer::SyncManager::ClearServerDataCallback& frontend_callback) {
DCHECK(ui_thread_->BelongsToCurrentThread());
« no previous file with comments | « components/sync_driver/glue/sync_backend_host_impl.h ('k') | components/sync_driver/glue/sync_backend_host_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698