1 /*
2  * Copyright (c) 2024 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 #include "cloud_assets_downloader.h"
16 #include "cloud_info.h"
17 #include "dfs_error.h"
18 
19 namespace OHOS::FileManagement::CloudFile {
20 using namespace std;
21 
CloudAssetsDownloader(const int32_t userId,const string & bundleName)22 CloudAssetsDownloader::CloudAssetsDownloader(const int32_t userId, const string &bundleName)
23     : userId_(userId), bundleName_(bundleName)
24 {
25 }
26 
DownloadAssets(DownloadAssetInfo & assetsToDownload)27 int32_t CloudAssetsDownloader::DownloadAssets(DownloadAssetInfo &assetsToDownload)
28 {
29     (void)userId_;
30     (void)bundleName_;
31     return E_OK;
32 }
33 
DownloadAssets(const std::vector<DownloadAssetInfo> & assetsToDownload,std::vector<bool> & assetResultMap)34 int32_t CloudAssetsDownloader::DownloadAssets(const std::vector<DownloadAssetInfo> &assetsToDownload,
35                                               std::vector<bool> &assetResultMap)
36 {
37     return E_OK;
38 }
39 
40 } // namespace OHOS::FileManagement::CloudFile