[cr146][Android] AccountInfoServiceProvider removed

Chromium change:
https://source.chromium.org/chromium/chromium/src/+/00fc3ac157d869ba5f476f78b90ebab11320b40d

	[Signin][Android] Remove AccountInfoService implementation

	IdentityManager become a source of truth, replacing AccountInfoService.

	Fixed: 341948846
	Change-Id: I6ecb55ab3877c9e248c7f24b15a1f0c809b838a1
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7482429
This commit is contained in:
AlexeyBarabash
2026-02-26 13:47:48 +00:00
committed by Claudio DeSouza
parent 0712d65e25
commit cfa57bf1c7
@@ -16,7 +16,6 @@ import org.chromium.build.annotations.Nullable;
import org.chromium.chrome.browser.signin.services.SigninManager;
import org.chromium.components.prefs.PrefService;
import org.chromium.components.signin.base.CoreAccountInfo;
import org.chromium.components.signin.identitymanager.AccountInfoServiceProvider;
import org.chromium.components.signin.identitymanager.IdentityManager;
import org.chromium.components.signin.identitymanager.IdentityMutator;
import org.chromium.components.signin.metrics.SigninAccessPoint;
@@ -87,14 +86,11 @@ public class BraveSigninManager implements SigninManager {
@JniType("PrefService*") PrefService prefService,
@JniType("signin::IdentityManager*") IdentityManager identityManager,
IdentityMutator identityMutator) {
AccountInfoServiceProvider.init(identityManager);
return new BraveSigninManager(identityManager);
}
@CalledByNative
void destroy() {
AccountInfoServiceProvider.get().destroy();
}
void destroy() {}
@Override
public void wipeSyncUserData(Runnable wipeDataCallback, @DataWipeOption int dataWipeOption) {}