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

Unified Diff: components/browser_sync/browser/profile_sync_service.cc

Issue 2261243003: [Sync] Fix account id comparison for cookie jar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 4 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 | « chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browser_sync/browser/profile_sync_service.cc
diff --git a/components/browser_sync/browser/profile_sync_service.cc b/components/browser_sync/browser/profile_sync_service.cc
index e5192f9d97a7ce6b1e927adcb62d5e06cfaaab1a..13f898361422993904bdbbeaa57351269f46e415 100644
--- a/components/browser_sync/browser/profile_sync_service.cc
+++ b/components/browser_sync/browser/profile_sync_service.cc
@@ -2116,7 +2116,7 @@ void ProfileSyncService::OnGaiaAccountsInCookieUpdated(
// Iterate through list of accounts, looking for current sync account.
for (const auto& account : accounts) {
- if (account.gaia_id == account_id) {
+ if (account.id == account_id) {
cookie_jar_mismatch = false;
break;
}
« no previous file with comments | « chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698