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

Unified Diff: components/sync/driver/glue/sync_backend_host_core.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/driver/glue/sync_backend_host_core.h
diff --git a/components/sync/driver/glue/sync_backend_host_core.h b/components/sync/driver/glue/sync_backend_host_core.h
index 31b3a1e9ab3791c0c3e62800637fde448121d257..ffdbfd48a98e705224f7226fb2407c3b620ce981 100644
--- a/components/sync/driver/glue/sync_backend_host_core.h
+++ b/components/sync/driver/glue/sync_backend_host_core.h
@@ -165,7 +165,9 @@ class SyncBackendHostCore
const SyncManager::ClearServerDataCallback& frontend_callback);
// Notify the syncer that the cookie jar has changed.
- void DoOnCookieJarChanged(bool account_mismatch, bool empty_jar);
+ void DoOnCookieJarChanged(bool account_mismatch,
+ bool empty_jar,
+ const base::Closure& callback);
private:
friend class base::RefCountedThreadSafe<SyncBackendHostCore>;

Powered by Google App Engine
This is Rietveld 408576698