blob: fa809f2fa651dc5362a8df9119722d21e7d8888e [file] [log] [blame]
// Copyright 2021 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.
#ifndef CHROMEOS_SERVICES_LIBASSISTANT_UTIL_H_
#define CHROMEOS_SERVICES_LIBASSISTANT_UTIL_H_
#include <string>
#include "chromeos/services/libassistant/public/mojom/android_app_info.mojom.h"
#include "chromeos/services/libassistant/public/mojom/conversation_controller.mojom.h"
#include "third_party/abseil-cpp/absl/types/optional.h"
namespace base {
class FilePath;
} // namespace base
namespace chromeos {
namespace libassistant {
// Creates the configuration for libassistant.
std::string CreateLibAssistantConfig(
absl::optional<std::string> s3_server_uri_override,
absl::optional<std::string> device_id_override);
// Returns the path where all downloaded LibAssistant resources are stored.
base::FilePath GetBaseAssistantDir();
std::string CreateVerifyProviderResponseInteraction(
const int interaction_id,
const std::vector<libassistant::mojom::AndroidAppInfoPtr>& apps_info);
std::string CreateGetDeviceSettingInteraction(
int interaction_id,
const std::vector<libassistant::mojom::DeviceSettingPtr>& device_settings);
} // namespace libassistant
} // namespace chromeos
#endif // CHROMEOS_SERVICES_LIBASSISTANT_UTIL_H_