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

Unified Diff: sync/internal_api/public/sync_manager.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
« no previous file with comments | « sync/engine/syncer.cc ('k') | sync/internal_api/public/test/fake_sync_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/sync_manager.h
diff --git a/sync/internal_api/public/sync_manager.h b/sync/internal_api/public/sync_manager.h
index 1f834f3b3dae463b1603ad5bc4dfc9827150df97..4be3aeb0b2be817f71c873b9479032a966838bb7 100644
--- a/sync/internal_api/public/sync_manager.h
+++ b/sync/internal_api/public/sync_manager.h
@@ -404,6 +404,11 @@ class SYNC_EXPORT SyncManager {
// server. The operation will automatically be retried with backoff until it
// completes successfully or sync is shutdown.
virtual void ClearServerData(const ClearServerDataCallback& callback) = 0;
+
+ // Updates Sync's tracking of whether the cookie jar has a mismatch with the
+ // chrome account. See ClientConfigParams proto message for more info.
+ // Note: this does not trigger a sync cycle. It just updates the sync context.
+ virtual void OnCookieJarChanged(bool account_mismatch) = 0;
};
} // namespace syncer
« no previous file with comments | « sync/engine/syncer.cc ('k') | sync/internal_api/public/test/fake_sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698