| Index: components/arc/intent_helper/arc_intent_helper_bridge.h
|
| diff --git a/components/arc/intent_helper/arc_intent_helper_bridge.h b/components/arc/intent_helper/arc_intent_helper_bridge.h
|
| index 4adbe472bf057bdce5fafa37a08932c4d1888a84..0703b4c88d407d0993a583ca201dfd4b38579f14 100644
|
| --- a/components/arc/intent_helper/arc_intent_helper_bridge.h
|
| +++ b/components/arc/intent_helper/arc_intent_helper_bridge.h
|
| @@ -30,10 +30,11 @@ class LocalActivityResolver;
|
| class SetWallpaperDelegate;
|
|
|
| // Receives intents from ARC.
|
| -class ArcIntentHelperBridge : public ArcService,
|
| - public ArcBridgeService::Observer,
|
| - public mojom::IntentHelperHost,
|
| - public ash::LinkHandlerModelFactory {
|
| +class ArcIntentHelperBridge
|
| + : public ArcService,
|
| + public ArcBridgeService::InstanceObserver<mojom::IntentHelperInstance>,
|
| + public mojom::IntentHelperHost,
|
| + public ash::LinkHandlerModelFactory {
|
| public:
|
| ArcIntentHelperBridge(
|
| ArcBridgeService* bridge_service,
|
| @@ -42,9 +43,10 @@ class ArcIntentHelperBridge : public ArcService,
|
| const scoped_refptr<LocalActivityResolver>& activity_resolver);
|
| ~ArcIntentHelperBridge() override;
|
|
|
| - // ArcBridgeService::Observer
|
| - void OnIntentHelperInstanceReady() override;
|
| - void OnIntentHelperInstanceClosed() override;
|
| + // ArcBridgeService::InstanceObserver<mojom::IntentHelperInstance>
|
| + void OnInstanceReady(mojom::IntentHelperInstance* intent_helper_instance,
|
| + uint32_t version) override;
|
| + void OnInstanceClosed(mojom::IntentHelperInstance*) override;
|
|
|
| // arc::mojom::IntentHelperHost
|
| void OnIconInvalidated(const mojo::String& package_name) override;
|
|
|