summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaichi Hirono2016-11-15 00:42:05 -0600
committerDaichi Hirono2016-11-16 18:49:51 -0600
commit691739b334f3efab38f82f2922ee4039462fec25 (patch)
tree7aaa276c9bbe559aa28f4aebcf311b6105f3ddf0 /libappfuse/include/libappfuse
parent30e68088951f17ad54c1d15576835ff4eb622c4c (diff)
downloadplatform-system-core-691739b334f3efab38f82f2922ee4039462fec25.tar.gz
platform-system-core-691739b334f3efab38f82f2922ee4039462fec25.tar.xz
platform-system-core-691739b334f3efab38f82f2922ee4039462fec25.zip
Remove FuseBridgeLoop class.
Bug: 32779923 Test: libappfuse_test Change-Id: I29a76701d141ae061ec1fe32993d27460a0c694a
Diffstat (limited to 'libappfuse/include/libappfuse')
-rw-r--r--libappfuse/include/libappfuse/FuseBridgeLoop.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/libappfuse/include/libappfuse/FuseBridgeLoop.h b/libappfuse/include/libappfuse/FuseBridgeLoop.h
index 38043bce7..1f71cf272 100644
--- a/libappfuse/include/libappfuse/FuseBridgeLoop.h
+++ b/libappfuse/include/libappfuse/FuseBridgeLoop.h
@@ -20,23 +20,14 @@
20#include "libappfuse/FuseBuffer.h" 20#include "libappfuse/FuseBuffer.h"
21 21
22namespace android { 22namespace android {
23namespace fuse {
23 24
24// TODO: Remove the class after switching to StartFuseBridgeLoop in the 25class FuseBridgeLoopCallback {
25// framework code.
26class FuseBridgeLoop final {
27 public: 26 public:
28 class Callback { 27 virtual void OnMount() = 0;
29 public: 28 virtual ~FuseBridgeLoopCallback() = default;
30 virtual void OnMount() = 0;
31 virtual ~Callback() = default;
32 };
33
34 bool Start(int dev_fd, int proxy_fd, Callback* callback);
35}; 29};
36 30
37namespace fuse {
38
39class FuseBridgeLoopCallback : public FuseBridgeLoop::Callback {};
40bool StartFuseBridgeLoop( 31bool StartFuseBridgeLoop(
41 int dev_fd, int proxy_fd, FuseBridgeLoopCallback* callback); 32 int dev_fd, int proxy_fd, FuseBridgeLoopCallback* callback);
42 33