diff options
Diffstat (limited to 'adb/daemon')
-rw-r--r-- | adb/daemon/file_sync_service.cpp | 4 | ||||
-rw-r--r-- | adb/daemon/file_sync_service.h | 21 |
2 files changed, 24 insertions, 1 deletions
diff --git a/adb/daemon/file_sync_service.cpp b/adb/daemon/file_sync_service.cpp index 0b713631e..7ae806a0e 100644 --- a/adb/daemon/file_sync_service.cpp +++ b/adb/daemon/file_sync_service.cpp @@ -16,8 +16,9 @@ #define TRACE_TAG SYNC +#include "daemon/file_sync_service.h" + #include "sysdeps.h" -#include "file_sync_service.h" #include <dirent.h> #include <errno.h> @@ -42,6 +43,7 @@ #include "adb_io.h" #include "adb_trace.h" #include "adb_utils.h" +#include "file_sync_protocol.h" #include "security_log_tags.h" #include "sysdeps/errno.h" diff --git a/adb/daemon/file_sync_service.h b/adb/daemon/file_sync_service.h new file mode 100644 index 000000000..01081d298 --- /dev/null +++ b/adb/daemon/file_sync_service.h @@ -0,0 +1,21 @@ +#pragma once + +/* + * Copyright (C) 2018 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include <android-base/unique_fd.h> + +void file_sync_service(android::base::unique_fd fd); |