1 // Copyright 2016 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "chromecast/public/reboot_shlib.h" 6 7 #if !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON) 8 #include <stdlib.h> // abort() 9 #define NOTREACHED() abort() 10 #else 11 #define NOTREACHED() static_cast<void>(0) 12 #endif 13 14 namespace chromecast { 15 Initialize(const std::vector<std::string> &)16void RebootShlib::Initialize(const std::vector<std::string>& /* argv */) {} 17 Finalize()18void RebootShlib::Finalize() {} 19 IsSupported()20bool RebootShlib::IsSupported() { 21 return false; 22 } 23 IsRebootSourceSupported(RebootShlib::RebootSource)24bool RebootShlib::IsRebootSourceSupported( 25 RebootShlib::RebootSource /* reboot_source */) { 26 return false; 27 } 28 RebootNow(RebootShlib::RebootSource)29bool RebootShlib::RebootNow(RebootShlib::RebootSource /* reboot_source */) { 30 NOTREACHED(); 31 return false; 32 } 33 IsFdrForNextRebootSupported()34bool RebootShlib::IsFdrForNextRebootSupported() { 35 return false; 36 } 37 SetFdrForNextReboot()38void RebootShlib::SetFdrForNextReboot() { 39 NOTREACHED(); 40 } 41 IsOtaForNextRebootSupported()42bool RebootShlib::IsOtaForNextRebootSupported() { 43 return false; 44 } 45 SetOtaForNextReboot()46void RebootShlib::SetOtaForNextReboot() { 47 NOTREACHED(); 48 } 49 } // namespace chromecast 50