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

Unified Diff: components/sync/engine/sync_engine.h

Issue 2751333007: [Sync] Try to fix race conditions in CookieJarMismatch. (Closed)
Patch Set: Created 3 years, 9 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/engine/sync_engine.h
diff --git a/components/sync/engine/sync_engine.h b/components/sync/engine/sync_engine.h
index 581c74a00333948f540d96b5d79771da6cf6270f..09c32e8c404cbcff65c3be1e94013f93fdf1a37e 100644
--- a/components/sync/engine/sync_engine.h
+++ b/components/sync/engine/sync_engine.h
@@ -186,7 +186,9 @@ class SyncEngine : public ModelTypeConfigurer {
// Notify the syncer that the cookie jar has changed.
// See SyncManager::OnCookieJarChanged.
- virtual void OnCookieJarChanged(bool account_mismatch, bool empty_jar) = 0;
+ virtual void OnCookieJarChanged(bool account_mismatch,
+ bool empty_jar,
+ const base::Closure& callback) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(SyncEngine);

Powered by Google App Engine
This is Rietveld 408576698