Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: components/arc/obb_mounter/arc_obb_mounter_bridge.h

Issue 2133503002: arc: Revamp the ArcBridgeService interface (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: More rebasing Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/net/arc_net_host_impl.cc ('k') | components/arc/obb_mounter/arc_obb_mounter_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « components/arc/net/arc_net_host_impl.cc ('k') | components/arc/obb_mounter/arc_obb_mounter_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698