blob: 9be97ec9d10900176bc9859f30780f8e12c8e6e5 [file] [log] [blame]
// Copyright 2019 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "login_manager/arc_sideload_status_stub.h"
#include <utility>
namespace login_manager {
void ArcSideloadStatusStub::Initialize() {}
bool ArcSideloadStatusStub::IsAdbSideloadAllowed() {
return false;
}
void ArcSideloadStatusStub::EnableAdbSideload(
EnableAdbSideloadCallback callback) {
std::move(callback).Run(ArcSideloadStatusInterface::Status::DISABLED,
"ARC is not supported");
}
void ArcSideloadStatusStub::QueryAdbSideload(
QueryAdbSideloadCallback callback) {
std::move(callback).Run(ArcSideloadStatusInterface::Status::DISABLED);
}
} // namespace login_manager