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

Side by Side Diff: public/fpdf_dataavail.h

Issue 1773733002: Review and cleanup lint warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « fpdfsdk/src/pdfwindow/PWL_Signature.cpp ('k') | public/fpdf_doc.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 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium 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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef PUBLIC_FPDF_DATAAVAIL_H_ 7 #ifndef PUBLIC_FPDF_DATAAVAIL_H_
8 #define PUBLIC_FPDF_DATAAVAIL_H_ 8 #define PUBLIC_FPDF_DATAAVAIL_H_
9 9
10 #include <stddef.h> // For size_t. 10 #include <stddef.h> // For size_t.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 * Yes 48 * Yes
49 * Parameters: 49 * Parameters:
50 * pThis - Pointer to the interface structure itself. 50 * pThis - Pointer to the interface structure itself.
51 * offset - The offset of the data section in the file. 51 * offset - The offset of the data section in the file.
52 * size - The size of the data section 52 * size - The size of the data section
53 * Return Value: 53 * Return Value:
54 * true means the specified data section is available. 54 * true means the specified data section is available.
55 * Comments: 55 * Comments:
56 * Called by Foxit SDK to check whether the data section is ready. 56 * Called by Foxit SDK to check whether the data section is ready.
57 */ 57 */
58 FPDF_BOOL (*IsDataAvail)(struct _FX_FILEAVAIL* pThis, size_t offset, size_t si ze); 58 FPDF_BOOL (*IsDataAvail)(struct _FX_FILEAVAIL* pThis,
59 size_t offset,
60 size_t size);
59 } FX_FILEAVAIL; 61 } FX_FILEAVAIL;
60 62
61 typedef void* FPDF_AVAIL; 63 typedef void* FPDF_AVAIL;
62 64
63 /** 65 /**
64 * Function: FPDFAvail_Create 66 * Function: FPDFAvail_Create
65 * Create a document availability provider. 67 * Create a document availability provider.
66 * 68 *
67 * Parameters: 69 * Parameters:
68 * file_avail - Pointer to file availability interface to check 70 * file_avail - Pointer to file availability interface to check
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 * tell whether a PDF file is a linearized file or not. 266 * tell whether a PDF file is a linearized file or not.
265 * 267 *
266 */ 268 */
267 DLLEXPORT int STDCALL FPDFAvail_IsLinearized(FPDF_AVAIL avail); 269 DLLEXPORT int STDCALL FPDFAvail_IsLinearized(FPDF_AVAIL avail);
268 270
269 #ifdef __cplusplus 271 #ifdef __cplusplus
270 } 272 }
271 #endif 273 #endif
272 274
273 #endif // PUBLIC_FPDF_DATAAVAIL_H_ 275 #endif // PUBLIC_FPDF_DATAAVAIL_H_
OLDNEW
« no previous file with comments | « fpdfsdk/src/pdfwindow/PWL_Signature.cpp ('k') | public/fpdf_doc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698