blob: 04379d80848c3523d904f6090841c2b5103f4289 [file] [log] [blame]
// 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.
// The speaker id enrollment flow.
// The speaker id retrain flow.
// 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);