blob: edbac57ee62ec4cfd946a8cd754eb4cbe1ee1f94 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// 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() abort()
#else
#define NOTREACHED() 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 */) {
NOTREACHED();
return false;
}
bool RebootShlib::IsFdrForNextRebootSupported() {
return false;
}
void RebootShlib::SetFdrForNextReboot() {
NOTREACHED();
}
bool RebootShlib::IsOtaForNextRebootSupported() {
return false;
}
void RebootShlib::SetOtaForNextReboot() {
NOTREACHED();
}
} // namespace chromecast