| Index: chrome/browser/chromeos/arc/arc_auth_service.cc
|
| diff --git a/chrome/browser/chromeos/arc/arc_auth_service.cc b/chrome/browser/chromeos/arc/arc_auth_service.cc
|
| index cc7bb452da90176148f1d6b20e32d492dbd8f5dc..a5e2ae8db4bb3c0bb6139b5747a3a8b8fbc35772 100644
|
| --- a/chrome/browser/chromeos/arc/arc_auth_service.cc
|
| +++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
|
| @@ -97,6 +97,7 @@ ArcAuthService::ArcAuthService(ArcBridgeService* bridge_service)
|
| g_arc_auth_service = this;
|
|
|
| arc_bridge_service()->AddObserver(this);
|
| + arc_bridge_service()->auth()->AddObserver(this);
|
| }
|
|
|
| ArcAuthService::~ArcAuthService() {
|
| @@ -104,6 +105,7 @@ ArcAuthService::~ArcAuthService() {
|
| DCHECK_EQ(this, g_arc_auth_service);
|
|
|
| Shutdown();
|
| + arc_bridge_service()->auth()->RemoveObserver(this);
|
| arc_bridge_service()->RemoveObserver(this);
|
|
|
| g_arc_auth_service = nullptr;
|
| @@ -185,9 +187,9 @@ bool ArcAuthService::IsAllowedForProfile(const Profile* profile) {
|
| return true;
|
| }
|
|
|
| -void ArcAuthService::OnAuthInstanceReady() {
|
| - arc_bridge_service()->auth_instance()->Init(
|
| - binding_.CreateInterfacePtrAndBind());
|
| +void ArcAuthService::OnInstanceReady(mojom::AuthInstance* auth_instance,
|
| + uint32_t version) {
|
| + auth_instance->Init(binding_.CreateInterfacePtrAndBind());
|
| }
|
|
|
| void ArcAuthService::OnBridgeStopped() {
|
|
|