Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / printing / browser / print_manager_utils.h
blob31e0daaad6bcf18875d0e688f08ce30be2c044ce
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_PRINTING_BROWSER_PRINT_MANAGER_UTILS_H_
6 #define COMPONENTS_PRINTING_BROWSER_PRINT_MANAGER_UTILS_H_
8 struct PrintMsg_Print_Params;
10 namespace printing {
12 class PrintSettings;
14 // Converts given settings to Print_Params and stores them in the output
15 // parameter |params|.
16 void RenderParamsFromPrintSettings(const PrintSettings& settings,
17 PrintMsg_Print_Params* params);
19 } // namespace printing
21 #endif // COMPONENTS_PRINTING_BROWSER_PRINT_MANAGER_UTILS_H_