// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef PRINTING_PRINT_SETTINGS_CONVERSION_CHROMEOS_H_ #define PRINTING_PRINT_SETTINGS_CONVERSION_CHROMEOS_H_ #include #include "base/values.h" #include "printing/mojom/print.mojom.h" // ChromeOS-specific print settings conversion functions. namespace printing { COMPONENT_EXPORT(PRINTING) base::Value::List ConvertClientInfoToJobSetting( const std::vector& client_info); // Assumes that `client_info_job_setting` is valid. COMPONENT_EXPORT(PRINTING) std::vector ConvertJobSettingToClientInfo( const base::Value::List& client_info_job_setting); } // namespace printing #endif // PRINTING_PRINT_SETTINGS_CONVERSION_CHROMEOS_H_