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

Side by Side Diff: core/src/fxcodec/jbig2/JBig2_Module.h

Issue 1301453002: Merge to XFA: Cleanup: Fix some unneeded semi-colons and bad spacing. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 4 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 | « core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h ('k') | fpdfsdk/include/javascript/JS_Context.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 _JBIG2_MODULE_H_ 7 #ifndef _JBIG2_MODULE_H_
8 #define _JBIG2_MODULE_H_ 8 #define _JBIG2_MODULE_H_
9 #include "JBig2_Define.h" 9 #include "JBig2_Define.h"
10 class CJBig2_Module { 10 class CJBig2_Module {
11 public: 11 public:
12 virtual ~CJBig2_Module() {} 12 virtual ~CJBig2_Module() {}
13 13
14 virtual void* JBig2_Malloc(FX_DWORD dwSize) = 0; 14 virtual void* JBig2_Malloc(FX_DWORD dwSize) = 0;
15 15
16 virtual void* JBig2_Malloc2(FX_DWORD num, FX_DWORD dwSize) = 0; 16 virtual void* JBig2_Malloc2(FX_DWORD num, FX_DWORD dwSize) = 0;
17 17
18 virtual void* JBig2_Malloc3(FX_DWORD num, 18 virtual void* JBig2_Malloc3(FX_DWORD num,
19 FX_DWORD dwSize, 19 FX_DWORD dwSize,
20 FX_DWORD dwSize2) = 0; 20 FX_DWORD dwSize2) = 0;
21 21
22 virtual void* JBig2_Realloc(void* pMem, FX_DWORD dwSize) = 0; 22 virtual void* JBig2_Realloc(void* pMem, FX_DWORD dwSize) = 0;
23 23
24 virtual void JBig2_Free(void* pMem) = 0; 24 virtual void JBig2_Free(void* pMem) = 0;
25 25
26 virtual void JBig2_Assert(int32_t nExpression){}; 26 virtual void JBig2_Assert(int32_t nExpression) {}
27 27
28 virtual void JBig2_Error(const FX_CHAR* format, ...){}; 28 virtual void JBig2_Error(const FX_CHAR* format, ...) {}
29 29
30 virtual void JBig2_Warn(const FX_CHAR* format, ...){}; 30 virtual void JBig2_Warn(const FX_CHAR* format, ...) {}
31 31
32 virtual void JBig2_Log(const FX_CHAR* format, ...){}; 32 virtual void JBig2_Log(const FX_CHAR* format, ...) {}
33 }; 33 };
34 #endif 34 #endif
OLDNEW
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h ('k') | fpdfsdk/include/javascript/JS_Context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698