1 // Copyright 2022 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef PRINTING_PRINT_SETTINGS_CONVERSION_CHROMEOS_H_
6 #define PRINTING_PRINT_SETTINGS_CONVERSION_CHROMEOS_H_
10 #include "base/values.h"
11 #include "printing/mojom/print.mojom.h"
13 // ChromeOS-specific print settings conversion functions.
16 COMPONENT_EXPORT(PRINTING)
17 base::Value::List ConvertClientInfoToJobSetting(
18 const std::vector<mojom::IppClientInfo>& client_info);
20 // Assumes that `client_info_job_setting` is valid.
21 COMPONENT_EXPORT(PRINTING)
22 std::vector<mojom::IppClientInfo> ConvertJobSettingToClientInfo(
23 const base::Value::List& client_info_job_setting);
25 } // namespace printing
27 #endif // PRINTING_PRINT_SETTINGS_CONVERSION_CHROMEOS_H_