blob: 94c743d2591c9bb045f8e6fc67da471bac93c178 [file] [log] [blame]
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromecast/public/reboot_shlib.h"
#if !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)
#include <stdlib.h> // abort()
#define NOTREACHED_IN_MIGRATION() abort()
#else
#define NOTREACHED_IN_MIGRATION() static_cast<void>(0)
#endif
namespace chromecast {
void RebootShlib::Initialize(const std::vector<std::string>& /* argv */) {}
void RebootShlib::Finalize() {}
bool RebootShlib::IsSupported() {
return false;
}
bool RebootShlib::IsRebootSourceSupported(
RebootShlib::RebootSource /* reboot_source */) {
return false;
}
bool RebootShlib::RebootNow(RebootShlib::RebootSource /* reboot_source */) {
return false;
}
bool RebootShlib::IsFdrForNextRebootSupported() {
return false;
}
void RebootShlib::SetFdrForNextReboot() {
NOTREACHED_IN_MIGRATION();
}
bool RebootShlib::IsOtaForNextRebootSupported() {
return false;
}
void RebootShlib::SetOtaForNextReboot() {
NOTREACHED_IN_MIGRATION();
}
bool RebootShlib::IsClearOtaForNextRebootSupported() {
return false;
}
void RebootShlib::ClearOtaForNextReboot() {
NOTREACHED_IN_MIGRATION();
}
} // namespace chromecast