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

Side by Side Diff: pdf/pdf.cc

Issue 1533413002: Switch to standard integer types in pdf/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 | « pdf/paint_manager.cc ('k') | pdf/pdf_engine.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "pdf/pdf.h" 5 #include "pdf/pdf.h"
6 6
7 #include <stdint.h>
8
7 #if defined(OS_WIN) 9 #if defined(OS_WIN)
8 #include <windows.h> 10 #include <windows.h>
9 #endif 11 #endif
10 12
11 #include "base/command_line.h" 13 #include "base/command_line.h"
12 #include "base/logging.h" 14 #include "base/logging.h"
13 #include "pdf/out_of_process_instance.h" 15 #include "pdf/out_of_process_instance.h"
14 #include "ppapi/c/ppp.h" 16 #include "ppapi/c/ppp.h"
15 #include "ppapi/cpp/private/internal_module.h" 17 #include "ppapi/cpp/private/internal_module.h"
16 #include "ppapi/cpp/private/pdf.h" 18 #include "ppapi/cpp/private/pdf.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 autorotate); 173 autorotate);
172 bool ret = engine_exports->RenderPDFPageToBitmap( 174 bool ret = engine_exports->RenderPDFPageToBitmap(
173 pdf_buffer, pdf_buffer_size, page_number, settings, bitmap_buffer); 175 pdf_buffer, pdf_buffer_size, page_number, settings, bitmap_buffer);
174 if (!g_sdk_initialized_via_pepper) { 176 if (!g_sdk_initialized_via_pepper) {
175 chrome_pdf::ShutdownSDK(); 177 chrome_pdf::ShutdownSDK();
176 } 178 }
177 return ret; 179 return ret;
178 } 180 }
179 181
180 } // namespace chrome_pdf 182 } // namespace chrome_pdf
OLDNEW
« no previous file with comments | « pdf/paint_manager.cc ('k') | pdf/pdf_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698