Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: printing/print_settings_conversion.h

Issue 1544623002: Switch to standard integer types in printing/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « printing/pdf_metafile_skia.cc ('k') | printing/print_settings_conversion.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PRINTING_PRINT_SETTINGS_CONVERSION_H_ 5 #ifndef PRINTING_PRINT_SETTINGS_CONVERSION_H_
6 #define PRINTING_PRINT_SETTINGS_CONVERSION_H_ 6 #define PRINTING_PRINT_SETTINGS_CONVERSION_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/logging.h" 8 #include "base/logging.h"
10 #include "printing/page_range.h" 9 #include "printing/page_range.h"
11 #include "printing/printing_export.h" 10 #include "printing/printing_export.h"
12 11
13 namespace base { 12 namespace base {
14 class DictionaryValue; 13 class DictionaryValue;
15 } 14 }
16 15
17 namespace printing { 16 namespace printing {
18 17
19 class PrintSettings; 18 class PrintSettings;
20 19
21 bool PrintSettingsFromJobSettings(const base::DictionaryValue& job_settings, 20 bool PrintSettingsFromJobSettings(const base::DictionaryValue& job_settings,
22 PrintSettings* print_settings); 21 PrintSettings* print_settings);
23 22
24 // Use for debug only, because output is not completely consistent with format 23 // Use for debug only, because output is not completely consistent with format
25 // of |PrintSettingsFromJobSettings| input. 24 // of |PrintSettingsFromJobSettings| input.
26 void PrintSettingsToJobSettingsDebug(const PrintSettings& settings, 25 void PrintSettingsToJobSettingsDebug(const PrintSettings& settings,
27 base::DictionaryValue* job_settings); 26 base::DictionaryValue* job_settings);
28 27
29 } // namespace printing 28 } // namespace printing
30 29
31 #endif // PRINTING_PRINT_SETTINGS_CONVERSION_H_ 30 #endif // PRINTING_PRINT_SETTINGS_CONVERSION_H_
OLDNEW
« no previous file with comments | « printing/pdf_metafile_skia.cc ('k') | printing/print_settings_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698