| 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 9c283754b21e684789bbf9f5c014a72013e6004a..1253369bad40adaffa553f9a61a2797121241e87 100644
|
| --- a/chrome/browser/chromeos/arc/arc_auth_service.cc
|
| +++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
|
| @@ -101,6 +101,7 @@ ArcAuthService::ArcAuthService(ArcBridgeService* bridge_service)
|
| arc_auth_service = this;
|
|
|
| arc_bridge_service()->AddObserver(this);
|
| + arc_bridge_service()->auth()->AddObserver(this);
|
| }
|
|
|
| ArcAuthService::~ArcAuthService() {
|
| @@ -108,6 +109,7 @@ ArcAuthService::~ArcAuthService() {
|
| DCHECK(arc_auth_service == this);
|
|
|
| Shutdown();
|
| + arc_bridge_service()->auth()->RemoveObserver(this);
|
| arc_bridge_service()->RemoveObserver(this);
|
|
|
| arc_auth_service = nullptr;
|
| @@ -190,8 +192,8 @@ bool ArcAuthService::IsAllowedForProfile(const Profile* profile) {
|
| return true;
|
| }
|
|
|
| -void ArcAuthService::OnAuthInstanceReady() {
|
| - arc_bridge_service()->auth_instance()->Init(
|
| +void ArcAuthService::OnInstanceReady() {
|
| + arc_bridge_service()->auth()->instance()->Init(
|
| binding_.CreateInterfacePtrAndBind());
|
| }
|
|
|
|
|