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/FuseBridgeLoop.cc
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/FuseBridgeLoop.cc')
-rw-r--r--libappfuse/FuseBridgeLoop.cc14
1 files changed, 4 insertions, 10 deletions
diff --git a/libappfuse/FuseBridgeLoop.cc b/libappfuse/FuseBridgeLoop.cc
index beee4a6f5..2386bf84b 100644
--- a/libappfuse/FuseBridgeLoop.cc
+++ b/libappfuse/FuseBridgeLoop.cc
@@ -20,12 +20,13 @@
20#include <android-base/unique_fd.h> 20#include <android-base/unique_fd.h>
21 21
22namespace android { 22namespace android {
23namespace fuse {
23 24
24bool FuseBridgeLoop::Start( 25bool StartFuseBridgeLoop(
25 int raw_dev_fd, int raw_proxy_fd, FuseBridgeLoop::Callback* callback) { 26 int raw_dev_fd, int raw_proxy_fd, FuseBridgeLoopCallback* callback) {
26 base::unique_fd dev_fd(raw_dev_fd); 27 base::unique_fd dev_fd(raw_dev_fd);
27 base::unique_fd proxy_fd(raw_proxy_fd); 28 base::unique_fd proxy_fd(raw_proxy_fd);
28 fuse::FuseBuffer buffer; 29 FuseBuffer buffer;
29 size_t open_count = 0; 30 size_t open_count = 0;
30 31
31 LOG(DEBUG) << "Start fuse loop."; 32 LOG(DEBUG) << "Start fuse loop.";
@@ -96,12 +97,5 @@ bool FuseBridgeLoop::Start(
96 } 97 }
97} 98}
98 99
99namespace fuse {
100
101bool StartFuseBridgeLoop(
102 int raw_dev_fd, int raw_proxy_fd, FuseBridgeLoopCallback* callback) {
103 return FuseBridgeLoop().Start(raw_dev_fd, raw_proxy_fd, callback);
104}
105
106} // namespace fuse 100} // namespace fuse
107} // namespace android 101} // namespace android