Index: chrome/browser/extensions/api/identity/identity_api.cc |
diff --git a/chrome/browser/extensions/api/identity/identity_api.cc b/chrome/browser/extensions/api/identity/identity_api.cc |
index 79a66f31f1bc5156c30b579cfe81c6ecc7829a23..320a944f4d3dd62d307662be9af10a5d16742614 100644 |
--- a/chrome/browser/extensions/api/identity/identity_api.cc |
+++ b/chrome/browser/extensions/api/identity/identity_api.cc |
@@ -219,12 +219,6 @@ void IdentityAPI::OnAccountRemoved(const AccountIds& ids) {} |
void IdentityAPI::OnAccountSignInChanged(const AccountIds& ids, |
bool is_signed_in) { |
- const std::string primary_account_id = GetPrimaryAccountId(browser_context_); |
- if (primary_account_id != ids.account_key && |
- !switches::IsExtensionsMultiAccount()) { |
- return; |
- } |
- |
api::identity::AccountInfo account_info; |
account_info.id = ids.gaia; |