diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2016-02-18 15:02:55 -0500 |
---|---|---|
committer | Dan Sinclair <dsinclair@chromium.org> | 2016-02-18 15:02:55 -0500 |
commit | c7cd809fccd7c5f90c8a2db7ddec7289f9630f53 (patch) | |
tree | 8ed5c89990a552395ac3943330eb6776dc1f41e5 /xfa/src/fxbarcode/common | |
parent | c5ac0202004cd38071a9f6f0d7f3e5d8669ccfbb (diff) | |
download | pdfium-c7cd809fccd7c5f90c8a2db7ddec7289f9630f53.tar.xz |
Fixup incorrect include guards.
This CL updates include guards throughout the code base to be in the
chromium style.
BUG=pdfium:65
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1707893004 .
Diffstat (limited to 'xfa/src/fxbarcode/common')
15 files changed, 75 insertions, 45 deletions
diff --git a/xfa/src/fxbarcode/common/BC_CommonBitArray.h b/xfa/src/fxbarcode/common/BC_CommonBitArray.h index fb93a9e912..c2364c2bc8 100644 --- a/xfa/src/fxbarcode/common/BC_CommonBitArray.h +++ b/xfa/src/fxbarcode/common/BC_CommonBitArray.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONBITARRAY_H_ -#define _BC_COMMONBITARRAY_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITARRAY_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITARRAY_H_ + class CBC_CommonBitArray { public: CBC_CommonBitArray(CBC_CommonBitArray* array); @@ -28,4 +29,5 @@ class CBC_CommonBitArray { int32_t m_size; CFX_Int32Array m_bits; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITARRAY_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonBitMatrix.h b/xfa/src/fxbarcode/common/BC_CommonBitMatrix.h index d60e437ea1..75e0b43502 100644 --- a/xfa/src/fxbarcode/common/BC_CommonBitMatrix.h +++ b/xfa/src/fxbarcode/common/BC_CommonBitMatrix.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONBITMATRIX_H_ -#define _BC_COMMONBITMATRIX_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITMATRIX_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITMATRIX_H_ + class CBC_CommonBitArray; class CBC_CommonBitMatrix { public: @@ -38,4 +39,5 @@ class CBC_CommonBitMatrix { int32_t m_rowSize; int32_t* m_bits; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITMATRIX_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonBitSource.h b/xfa/src/fxbarcode/common/BC_CommonBitSource.h index 098a6060d3..546e5e9d5c 100644 --- a/xfa/src/fxbarcode/common/BC_CommonBitSource.h +++ b/xfa/src/fxbarcode/common/BC_CommonBitSource.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONBITSOURCE_H_ -#define _BC_COMMONBITSOURCE_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITSOURCE_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITSOURCE_H_ + class CBC_CommonBitSource { public: CBC_CommonBitSource(CFX_ByteArray* bytes); @@ -19,4 +20,5 @@ class CBC_CommonBitSource { int32_t m_byteOffset; int32_t m_bitOffset; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITSOURCE_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonByteArray.h b/xfa/src/fxbarcode/common/BC_CommonByteArray.h index 6e89aa4518..1653596e57 100644 --- a/xfa/src/fxbarcode/common/BC_CommonByteArray.h +++ b/xfa/src/fxbarcode/common/BC_CommonByteArray.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONBYTEARRAY_H_ -#define _BC_COMMONBYTEARRAY_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONBYTEARRAY_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONBYTEARRAY_H_ + class CBC_CommonByteArray { private: int32_t m_size; @@ -26,4 +27,5 @@ class CBC_CommonByteArray { void Set(uint8_t* source, int32_t offset, int32_t count); void Set(CFX_ByteArray* source, int32_t offset, int32_t count); }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONBYTEARRAY_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonByteMatrix.h b/xfa/src/fxbarcode/common/BC_CommonByteMatrix.h index db01704a23..371c185659 100644 --- a/xfa/src/fxbarcode/common/BC_CommonByteMatrix.h +++ b/xfa/src/fxbarcode/common/BC_CommonByteMatrix.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONBYTEMATRIX_H_ -#define _BC_COMMONBYTEMATRIX_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONBYTEMATRIX_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONBYTEMATRIX_H_ + class CBC_CommonByteMatrix { public: CBC_CommonByteMatrix(int32_t width, int32_t height); @@ -25,4 +26,5 @@ class CBC_CommonByteMatrix { int32_t m_width; int32_t m_height; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONBYTEMATRIX_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.h b/xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.h index 6626f7be7e..9ca6548533 100644 --- a/xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.h +++ b/xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONCHARACTERSETECI_H_ -#define _BC_COMMONCHARACTERSETECI_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONCHARACTERSETECI_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONCHARACTERSETECI_H_ + class CBC_CommonECI; class CBC_CommonCharacterSetECI; class CBC_CommonCharacterSetECI : public CBC_CommonECI { @@ -23,4 +24,5 @@ class CBC_CommonCharacterSetECI : public CBC_CommonECI { CFX_ByteString m_encodingName; static void initialize(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONCHARACTERSETECI_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonDecoderResult.h b/xfa/src/fxbarcode/common/BC_CommonDecoderResult.h index 93bab384ab..219a9f3a87 100644 --- a/xfa/src/fxbarcode/common/BC_CommonDecoderResult.h +++ b/xfa/src/fxbarcode/common/BC_CommonDecoderResult.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONDECODERRESULT_H_ -#define _BC_COMMONDECODERRESULT_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONDECODERRESULT_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONDECODERRESULT_H_ + class CBC_QRCoderErrorCorrectionLevel; class CBC_PDF417ResultMetadata; class CBC_CommonDecoderResult { @@ -37,4 +38,5 @@ class CBC_CommonDecoderResult { CFX_ByteString m_pdf417ecLevel; CBC_PDF417ResultMetadata* m_other; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONDECODERRESULT_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonECI.h b/xfa/src/fxbarcode/common/BC_CommonECI.h index 07b7e41870..3f46b3560c 100644 --- a/xfa/src/fxbarcode/common/BC_CommonECI.h +++ b/xfa/src/fxbarcode/common/BC_CommonECI.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONECI_H_ -#define _BC_COMMONECI_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONECI_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONECI_H_ + class CBC_CommonECI { public: CBC_CommonECI(int32_t value); @@ -17,4 +18,5 @@ class CBC_CommonECI { private: int32_t m_value; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONECI_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.h b/xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.h index f53bb00632..70e7bfb1ae 100644 --- a/xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.h +++ b/xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONPERSPECTIVETRANSFORM_H_ -#define _BC_COMMONPERSPECTIVETRANSFORM_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONPERSPECTIVETRANSFORM_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONPERSPECTIVETRANSFORM_H_ + class CBC_CommonPerspectiveTransform { public: CBC_CommonPerspectiveTransform(FX_FLOAT a11, @@ -58,4 +59,5 @@ class CBC_CommonPerspectiveTransform { private: FX_FLOAT m_a11, m_a12, m_a13, m_a21, m_a22, m_a23, m_a31, m_a32, m_a33; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONPERSPECTIVETRANSFORM_H_ diff --git a/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h b/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h index 52b653542c..86ac2eabe2 100644 --- a/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h +++ b/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_GLOBALHISTOGRAMBINARIZER_H_ -#define _BC_GLOBALHISTOGRAMBINARIZER_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_GLOBALHISTOGRAMBINARIZER_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_GLOBALHISTOGRAMBINARIZER_H_ + class CBC_CommonBinarizer; class CBC_CommonBitArray; class CBC_CommonBitMatrix; @@ -27,4 +28,5 @@ class CBC_GlobalHistogramBinarizer : public CBC_Binarizer { CFX_ByteArray m_luminance; CFX_Int32Array m_buckets; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_GLOBALHISTOGRAMBINARIZER_H_ diff --git a/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h b/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h index f0de614d99..e5f296c1af 100644 --- a/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h +++ b/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_WHITERECTANLEDETECTOR_H_ -#define _BC_WHITERECTANLEDETECTOR_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANLEDETECTOR_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANLEDETECTOR_H_ + class CBC_CommonBitMatrix; class CBC_ResultPoint; class CBC_WhiteRectangleDetector { @@ -45,4 +46,5 @@ class CBC_WhiteRectangleDetector { int32_t m_downInit; int32_t m_upInit; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANLEDETECTOR_H_ diff --git a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h index 138163b10d..1976cdad2b 100644 --- a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h +++ b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_READSOLOMON_H_ -#define _BC_READSOLOMON_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMON_H_ +#define XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMON_H_ + class CBC_ReedSolomonGF256; class CBC_ReedSolomonGF256Poly; class CBC_ReedSolomonEncoder { @@ -21,4 +22,5 @@ class CBC_ReedSolomonEncoder { void Encode(CFX_Int32Array* toEncode, int32_t ecBytes, int32_t& e); virtual void Init(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMON_H_ diff --git a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h index e230a3af74..cb8eefca61 100644 --- a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h +++ b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_REEDSOLOMONDECODER_H_ -#define _BC_REEDSOLOMONDECODER_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONDECODER_H_ +#define XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONDECODER_H_ + class CBC_ReedSolomonGF256; class CBC_ReedSolomonGF256Poly; class CBC_ReedSolomonDecoder { @@ -27,4 +28,5 @@ class CBC_ReedSolomonDecoder { FX_BOOL dataMatrix, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONDECODER_H_ diff --git a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h index d414f13d3c..d635694c10 100644 --- a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h +++ b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_REEDSOLOMONGF256_H_ -#define _BC_REEDSOLOMONGF256_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONGF256_H_ +#define XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONGF256_H_ + class CBC_ReedSolomonGF256Poly; class CBC_ReedSolomonGF256 { public: @@ -33,4 +34,5 @@ class CBC_ReedSolomonGF256 { CBC_ReedSolomonGF256Poly* m_zero; CBC_ReedSolomonGF256Poly* m_one; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONGF256_H_ diff --git a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h index 2ff7602eba..e427215cca 100644 --- a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h +++ b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_READSOLOMONGF256POLY_H_ -#define _BC_READSOLOMONGF256POLY_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMONGF256POLY_H_ +#define XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMONGF256POLY_H_ + class CBC_ReedSolomonGF256; class CBC_ReedSolomonGF256Poly { public: @@ -35,4 +36,5 @@ class CBC_ReedSolomonGF256Poly { CBC_ReedSolomonGF256* m_field; CFX_Int32Array m_coefficients; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMONGF256POLY_H_ |