// Copyright 2026 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

edition = "2024";

option optimize_for = LITE_RUNTIME;

package fjord_oobe_state.proto;

// Contains information related to OOBE state that should be relayed to other
// services running on the device.
message FjordOobeStateInfo {
  enum FjordOobeState {
    FJORD_OOBE_STATE_UNSPECIFIED = 0;
    FJORD_OOBE_STATE_UNIMPLEMENTED = 1;
    FJORD_OOBE_STATE_START = 2;
    FJORD_OOBE_STATE_ENROLLMENT_DONE = 3;
    FJORD_OOBE_STATE_READY_FOR_CALIBRATION = 4;
    FJORD_OOBE_STATE_COMPLETE = 5;
  }
  // The current OOBE state.
  FjordOobeState oobe_state = 1;
}

message SetFjordOobeStateResponse {
  // Whether the state was successfully set.
  bool success = 1;
  string error_message = 2;
}
