[M120 Migration][VD] Remove accessing oom_score_adj in zygote process
[platform/framework/web/chromium-efl.git] / printing / print_settings_conversion_chromeos.h
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.
4
5 #ifndef PRINTING_PRINT_SETTINGS_CONVERSION_CHROMEOS_H_
6 #define PRINTING_PRINT_SETTINGS_CONVERSION_CHROMEOS_H_
7
8 #include <vector>
9
10 #include "base/values.h"
11 #include "printing/mojom/print.mojom.h"
12
13 // ChromeOS-specific print settings conversion functions.
14 namespace printing {
15
16 COMPONENT_EXPORT(PRINTING)
17 base::Value::List ConvertClientInfoToJobSetting(
18     const std::vector<mojom::IppClientInfo>& client_info);
19
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);
24
25 }  // namespace printing
26
27 #endif  // PRINTING_PRINT_SETTINGS_CONVERSION_CHROMEOS_H_