| Index: components/arc/obb_mounter/arc_obb_mounter_bridge.h
|
| diff --git a/components/arc/obb_mounter/arc_obb_mounter_bridge.h b/components/arc/obb_mounter/arc_obb_mounter_bridge.h
|
| index d23715212c605c4493e6b83261c42d3d70c92a4d..6b5e3fcc7c9fec469ee9f2230ca61350ec41f2d8 100644
|
| --- a/components/arc/obb_mounter/arc_obb_mounter_bridge.h
|
| +++ b/components/arc/obb_mounter/arc_obb_mounter_bridge.h
|
| @@ -8,20 +8,22 @@
|
| #include "base/macros.h"
|
| #include "components/arc/arc_bridge_service.h"
|
| #include "components/arc/arc_service.h"
|
| +#include "components/arc/instance_holder.h"
|
| #include "mojo/public/cpp/bindings/binding.h"
|
|
|
| namespace arc {
|
|
|
| // This class handles OBB mount/unmount requests from Android.
|
| -class ArcObbMounterBridge : public ArcService,
|
| - public ArcBridgeService::Observer,
|
| - public mojom::ObbMounterHost {
|
| +class ArcObbMounterBridge
|
| + : public ArcService,
|
| + public InstanceHolder<mojom::ObbMounterInstance>::Observer,
|
| + public mojom::ObbMounterHost {
|
| public:
|
| explicit ArcObbMounterBridge(ArcBridgeService* bridge_service);
|
| ~ArcObbMounterBridge() override;
|
|
|
| - // ArcBridgeService::Observer overrides:
|
| - void OnObbMounterInstanceReady() override;
|
| + // InstanceHolder<mojom::ObbMounterInstance>::Observer overrides:
|
| + void OnInstanceReady() override;
|
|
|
| // mojom::ObbMounterHost overrides:
|
| void MountObb(const mojo::String& obb_file,
|
|
|