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

Unified Diff: printing/pdf_render_settings.h

Issue 2477283002: Convert printing IPCs to Mojo
Patch Set: Fix more Windows compile errors Created 3 years, 11 months 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 side-by-side diff with in-line comments
Download patch
« chrome/service/service_utility_process_host.cc ('K') | « printing/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/pdf_render_settings.h
diff --git a/printing/pdf_render_settings.h b/printing/pdf_render_settings.h
index d9e8f9e7801fe134fa689712a33a3eb4f4c9a9aa..9917c2470787d843a2ddadb60aae2ecff476cdcf 100644
--- a/printing/pdf_render_settings.h
+++ b/printing/pdf_render_settings.h
@@ -32,6 +32,13 @@ namespace IPC {
template <>
struct ParamTraits<printing::PdfRenderSettings> {
typedef printing::PdfRenderSettings param_type;
+
+ static void GetSize(base::PickleSizer* s, const param_type& p) {
+ GetParamSize(s, p.area);
+ GetParamSize(s, p.dpi);
+ GetParamSize(s, p.autorotate);
+ }
+
static void Write(base::Pickle* m, const param_type& p) {
WriteParam(m, p.area);
WriteParam(m, p.dpi);
« chrome/service/service_utility_process_host.cc ('K') | « printing/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698