| Index: chrome/browser/chromeos/arc/arc_auth_service.h
|
| diff --git a/chrome/browser/chromeos/arc/arc_auth_service.h b/chrome/browser/chromeos/arc/arc_auth_service.h
|
| index 3c3a98b5002a8d1dc802c249a02c66ebd3cb0783..bb5032fcaf773a83c1a4471a2665209f4cb5ff8a 100644
|
| --- a/chrome/browser/chromeos/arc/arc_auth_service.h
|
| +++ b/chrome/browser/chromeos/arc/arc_auth_service.h
|
| @@ -17,6 +17,7 @@
|
| #include "components/arc/arc_bridge_service.h"
|
| #include "components/arc/arc_service.h"
|
| #include "components/arc/common/auth.mojom.h"
|
| +#include "components/arc/instance_holder.h"
|
| #include "components/prefs/pref_change_registrar.h"
|
| #include "components/syncable_prefs/pref_service_syncable_observer.h"
|
| #include "components/syncable_prefs/synced_pref_observer.h"
|
| @@ -43,6 +44,7 @@ class ArcAuthContext;
|
| class ArcAuthService : public ArcService,
|
| public mojom::AuthHost,
|
| public ArcBridgeService::Observer,
|
| + public InstanceHolder<mojom::AuthInstance>::Observer,
|
| public ArcAndroidManagementCheckerDelegate,
|
| public ArcAuthContextDelegate,
|
| public syncable_prefs::PrefServiceSyncableObserver,
|
| @@ -122,9 +124,12 @@ class ArcAuthService : public ArcService,
|
| void RemoveObserver(Observer* observer);
|
|
|
| // ArcBridgeService::Observer:
|
| - void OnAuthInstanceReady() override;
|
| void OnBridgeStopped() override;
|
|
|
| + // InstanceHolder<mojom::AuthInstance>::Observer:
|
| + void OnInstanceReady(mojom::AuthInstance* auth_instance,
|
| + uint32_t version) override;
|
| +
|
| // AuthHost:
|
| // For security reason this code can be used only once and exists for specific
|
| // period of time.
|
|
|