Android-cuttlefish cvd tool
downloaders.h
Go to the documentation of this file.
1//
2// Copyright (C) 2025 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16#pragma once
17
18#include <memory>
19
24
25namespace cuttlefish {
26
28 public:
30
33
36
37 private:
38 struct Impl; // for pimpl
39
40 Downloaders(std::unique_ptr<Impl>);
41
42 std::unique_ptr<Impl> impl_;
43};
44
45} // namespace cuttlefish
Definition: expected.h:86
Definition: build_api.h:27
Definition: downloaders.h:27
Downloaders(Downloaders &&)
std::unique_ptr< Impl > impl_
Definition: downloaders.h:42
BuildApi & AndroidBuild()
Definition: downloaders.cc:128
static Result< Downloaders > Create(const BuildApiFlags &)
Definition: downloaders.cc:69
Downloaders(std::unique_ptr< Impl >)
LuciBuildApi & Luci()
Definition: downloaders.cc:136
Definition: luci_build_api.h:34
Definition: alloc_utils.cpp:23
Definition: build_api_flags.h:37
Definition: downloaders.cc:51