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

Side by Side Diff: printing/pdf_metafile_skia.cc

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.h ('k') | printing/print_settings_conversion.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "printing/pdf_metafile_skia.h" 5 #include "printing/pdf_metafile_skia.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
8 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
9 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram.h"
10 #include "base/numerics/safe_conversions.h" 13 #include "base/numerics/safe_conversions.h"
11 #include "base/posix/eintr_wrapper.h" 14 #include "base/posix/eintr_wrapper.h"
12 #include "base/time/time.h" 15 #include "base/time/time.h"
13 #include "printing/print_settings.h" 16 #include "printing/print_settings.h"
14 #include "skia/ext/refptr.h" 17 #include "skia/ext/refptr.h"
15 #include "third_party/skia/include/core/SkData.h" 18 #include "third_party/skia/include/core/SkData.h"
16 #include "third_party/skia/include/core/SkDocument.h" 19 #include "third_party/skia/include/core/SkDocument.h"
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 309
307 metafile->data_->pages_.push_back(page); 310 metafile->data_->pages_.push_back(page);
308 311
309 if (!metafile->FinishDocument()) // Generate PDF. 312 if (!metafile->FinishDocument()) // Generate PDF.
310 metafile.reset(); 313 metafile.reset();
311 314
312 return metafile.Pass(); 315 return metafile.Pass();
313 } 316 }
314 317
315 } // namespace printing 318 } // namespace printing
OLDNEW
« no previous file with comments | « printing/pdf_metafile_skia.h ('k') | printing/print_settings_conversion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698