Index: chrome/browser/ui/app_list/arc/arc_app_list_prefs.h |
diff --git a/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h b/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h |
index 0357525b87da7822cc171b91a65e2700d2efe736..c35274410033bea41740817809c5826c4f820592 100644 |
--- a/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h |
+++ b/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h |
@@ -44,10 +44,12 @@ class PrefRegistrySyncable; |
// information is used to pre-create non-ready app items while ARC bridge |
// service is not ready to provide information about available ARC apps. |
// NOTE: ArcAppListPrefs is only created for the primary user. |
-class ArcAppListPrefs : public KeyedService, |
- public arc::mojom::AppHost, |
- public arc::ArcBridgeService::Observer, |
- public arc::ArcAuthService::Observer { |
+class ArcAppListPrefs |
+ : public KeyedService, |
+ public arc::mojom::AppHost, |
+ public arc::ArcBridgeService::Observer, |
+ public arc::ArcBridgeService::InstanceObserver<arc::mojom::AppInstance>, |
+ public arc::ArcAuthService::Observer { |
public: |
struct AppInfo { |
AppInfo(const std::string& name, |
@@ -206,9 +208,12 @@ class ArcAppListPrefs : public KeyedService, |
ArcAppListPrefs(const base::FilePath& base_path, PrefService* prefs); |
// arc::ArcBridgeService::Observer: |
- void OnStateChanged(arc::ArcBridgeService::State state) override; |
- void OnAppInstanceReady() override; |
- void OnAppInstanceClosed() override; |
+ void OnBridgeStopped() override; |
+ |
+ // arc::ArcBridgeService::InstanceObserver<arc::mojom::AppInstance>: |
+ void OnInstanceReady(arc::mojom::AppInstance* app_instance, |
+ uint32_t version) override; |
+ void OnInstanceClosed(arc::mojom::AppInstance*) override; |
// arc::mojom::AppHost: |
void OnAppListRefreshed(mojo::Array<arc::mojom::AppInfoPtr> apps) override; |