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

Unified Diff: components/sync_driver/glue/sync_backend_host.h

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.h
diff --git a/components/sync_driver/glue/sync_backend_host.h b/components/sync_driver/glue/sync_backend_host.h
index 081c31533911d60cb9bf3b7a06cf767bacf84401..dc9962e96585e1c8fd341216290b36e8a79b5760 100644
--- a/components/sync_driver/glue/sync_backend_host.h
+++ b/components/sync_driver/glue/sync_backend_host.h
@@ -227,6 +227,10 @@ class SyncBackendHost : public sync_driver::BackendDataTypeConfigurer {
virtual void ClearServerData(
const syncer::SyncManager::ClearServerDataCallback& callback) = 0;
+ // Notify the syncer that the cookie jar has changed.
+ // See SyncManager::OnCookieJarChanged.
+ virtual void OnCookieJarChanged(bool account_mismatch) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(SyncBackendHost);
};
« no previous file with comments | « components/browser_sync/browser/profile_sync_service.cc ('k') | components/sync_driver/glue/sync_backend_host_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698