From 22d6607d104d4cb8c5263c4d307b4ba1e4ff959e Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 22 Feb 2016 11:56:05 -0500 Subject: 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 . --- xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h | 6 +++--- xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h | 6 +++--- xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'xfa/src/fxbarcode/common') 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_ -- cgit v1.2.3