| // Copyright 2018 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. |
| |
| module ash.mojom; |
| |
| enum FlowType { |
| // The whole consent flow. |
| CONSENT_FLOW, |
| // The speaker id enrollment flow. |
| SPEAKER_ID_ENROLLMENT, |
| // The speaker id retrain flow. |
| SPEAKER_ID_RETRAIN, |
| }; |
| |
| // Interface for a class which is responsible for start Assistant OptIn flow. |
| interface AssistantSetup { |
| // Start the assistant setup flow. |
| // |completed| is true if the user has completed the entire flow and opted in |
| // to using assistant. |
| StartAssistantOptInFlow(FlowType type) => (bool completed); |
| }; |