| // Copyright 2019 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| library fuchsia.mockrebootcontroller; | |
| type RebootError = strict enum : int32 { | |
| CLIENT_ERROR = 1; | |
| NO_CLIENT_SET = 2; | |
| }; | |
| @discoverable | |
| closed protocol MockRebootController { | |
| strict TriggerReboot() -> () error RebootError; | |
| strict CrashRebootChannel() -> () error RebootError; | |
| }; |