diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2016-02-22 11:56:05 -0500 |
---|---|---|
committer | Dan Sinclair <dsinclair@chromium.org> | 2016-02-22 11:56:05 -0500 |
commit | 22d6607d104d4cb8c5263c4d307b4ba1e4ff959e (patch) | |
tree | 5a3567227e10a988484c329b7fdf315efb3c988a /xfa/src/fxbarcode | |
parent | 33364e2d6f9549d7964611097c663264548a5d68 (diff) | |
download | pdfium-22d6607d104d4cb8c5263c4d307b4ba1e4ff959e.tar.xz |
Fixing include guards, and presubmit.
This update fixes all include guards so cpplint build/header_guard completes
without error.
A presubmit check is added to make sure the guards stay clean.
BUG=pdfium:65
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1719083002 .
Diffstat (limited to 'xfa/src/fxbarcode')
13 files changed, 39 insertions, 39 deletions
diff --git a/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h b/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h index e5f296c1af..32ae819a3f 100644 --- a/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h +++ b/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANLEDETECTOR_H_ -#define XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANLEDETECTOR_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANGLEDETECTOR_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANGLEDETECTOR_H_ class CBC_CommonBitMatrix; class CBC_ResultPoint; @@ -47,4 +47,4 @@ class CBC_WhiteRectangleDetector { int32_t m_upInit; }; -#endif // XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANLEDETECTOR_H_ +#endif // XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANGLEDETECTOR_H_ diff --git a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h index 1976cdad2b..339f40ae84 100644 --- a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h +++ b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMON_H_ -#define XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMON_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMON_H_ +#define XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMON_H_ class CBC_ReedSolomonGF256; class CBC_ReedSolomonGF256Poly; @@ -23,4 +23,4 @@ class CBC_ReedSolomonEncoder { virtual void Init(); }; -#endif // XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMON_H_ +#endif // XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMON_H_ diff --git a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h index e427215cca..8f2642dd87 100644 --- a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h +++ b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMONGF256POLY_H_ -#define XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMONGF256POLY_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONGF256POLY_H_ +#define XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONGF256POLY_H_ class CBC_ReedSolomonGF256; class CBC_ReedSolomonGF256Poly { @@ -37,4 +37,4 @@ class CBC_ReedSolomonGF256Poly { CFX_Int32Array m_coefficients; }; -#endif // XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMONGF256POLY_H_ +#endif // XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONGF256POLY_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.h b/xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.h index 17433a169a..658bc4eb68 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.h +++ b/xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_HIGHLEVALENCODER_H_ -#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_HIGHLEVALENCODER_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_HIGHLEVELENCODER_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_HIGHLEVELENCODER_H_ class CBC_SymbolShapeHint; class CBC_HighLevelEncoder; @@ -72,4 +72,4 @@ class CBC_HighLevelEncoder : public CBC_SymbolShapeHint { static FX_BOOL isSpecialB256(FX_WCHAR ch); }; -#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_HIGHLEVALENCODER_H_ +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_HIGHLEVELENCODER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h b/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h index 592df3a02d..a688d1a65a 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h +++ b/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA128READER_H_ -#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA128READER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128READER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128READER_H_ class CBC_OneDReader; class CBC_CommonBitArray; @@ -45,4 +45,4 @@ class CBC_OnedCode128Reader : public CBC_OneDReader { int32_t& e); }; -#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA128READER_H_ +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128READER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h b/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h index b53cc95820..d31cc00af1 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h +++ b/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA128WRITER_H_ -#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA128WRITER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_ class CBC_OneDimWriter; class CBC_OnedCoda128Writer; @@ -47,4 +47,4 @@ class CBC_OnedCode128Writer : public CBC_OneDimWriter { const static int32_t CODE_STOP; }; -#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA128WRITER_H_ +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h b/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h index c1a70b8318..424cbe52d6 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h +++ b/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA39READER_H_ -#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA39READER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE39READER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE39READER_H_ class CBC_OneDReader; class CBC_CommonBitArray; @@ -34,4 +34,4 @@ class CBC_OnedCode39Reader : public CBC_OneDReader { CFX_ByteString DecodeExtended(CFX_ByteString& encoded, int32_t& e); }; -#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA39READER_H_ +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE39READER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h b/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h index 1e422827d5..f984b9bc0b 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h +++ b/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA39WRITER_H_ -#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA39WRITER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_ enum BC_TEXT_LOC; class CBC_OneDimWriter; @@ -51,4 +51,4 @@ class CBC_OnedCode39Writer : public CBC_OneDimWriter { FX_BOOL m_extendedMode; }; -#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA39WRITER_H_ +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.h b/xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.h index 045f89f318..84ace71811 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXBARCODE_PDF417_BC_BOUNDINGBOX_H_ -#define XFA_SRC_FXBARCODE_PDF417_BC_BOUNDINGBOX_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417BOUNDINGBOX_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417BOUNDINGBOX_H_ class CBC_CommonBitMatrix; class CBC_ResultPoint; @@ -55,4 +55,4 @@ class CBC_BoundingBox { void calculateMinMaxValues(); }; -#endif // XFA_SRC_FXBARCODE_PDF417_BC_BOUNDINGBOX_H_ +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417BOUNDINGBOX_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h b/xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h index 0ff5ceb5ee..93ac84d384 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXBARCODE_PDF417_BC_CODEWORD_H_ -#define XFA_SRC_FXBARCODE_PDF417_BC_CODEWORD_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417CODEWORD_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417CODEWORD_H_ class CBC_Codeword { public: @@ -32,4 +32,4 @@ class CBC_Codeword { int32_t m_rowNumber; }; -#endif // XFA_SRC_FXBARCODE_PDF417_BC_CODEWORD_H_ +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417CODEWORD_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h b/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h index 3ad6fb2c27..0142f8209f 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRABITMATRIXPARSER_H_ -#define XFA_SRC_FXBARCODE_QRCODE_BC_QRABITMATRIXPARSER_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRBITMATRIXPARSER_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRBITMATRIXPARSER_H_ class CBC_CommonBitMatrix; class CBC_QRCoderVersion; @@ -29,4 +29,4 @@ class CBC_QRBitMatrixParser { virtual void Init(CBC_CommonBitMatrix* bitMatrix, int32_t& e); }; -#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRABITMATRIXPARSER_H_ +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRBITMATRIXPARSER_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h b/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h index bd7bc59656..acae014158 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERWRITER_H_ -#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERWRITER_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODEWRITER_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODEWRITER_H_ #include "xfa/src/fxbarcode/BC_TwoDimWriter.h" @@ -40,4 +40,4 @@ class CBC_QRCodeWriter : public CBC_TwoDimWriter { int32_t m_iVersion; }; -#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERWRITER_H_ +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODEWRITER_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.h index b6b4a48588..5613de1f89 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRECODERBITVECTOR_H_ -#define XFA_SRC_FXBARCODE_QRCODE_BC_QRECODERBITVECTOR_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERBITVECTOR_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERBITVECTOR_H_ class CBC_QRCoderBitVector { private: @@ -30,4 +30,4 @@ class CBC_QRCoderBitVector { virtual void Init(); }; -#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRECODERBITVECTOR_H_ +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERBITVECTOR_H_ |