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/fxfa/src/common/fxfa_localevalue.h | 6 +++--- xfa/src/fxfa/src/common/xfa_parser.h | 6 +++--- xfa/src/fxfa/src/common/xfa_script.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'xfa/src/fxfa') diff --git a/xfa/src/fxfa/src/common/fxfa_localevalue.h b/xfa/src/fxfa/src/common/fxfa_localevalue.h index 1157e9970d..39660ff665 100644 --- a/xfa/src/fxfa/src/common/fxfa_localevalue.h +++ b/xfa/src/fxfa/src/common/fxfa_localevalue.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXFA_SRC_COMMON_FXFA_LOCALVALUE_H_ -#define XFA_SRC_FXFA_SRC_COMMON_FXFA_LOCALVALUE_H_ +#ifndef XFA_SRC_FXFA_SRC_COMMON_FXFA_LOCALEVALUE_H_ +#define XFA_SRC_FXFA_SRC_COMMON_FXFA_LOCALEVALUE_H_ class IFX_Locale; class CFX_Unitime; @@ -105,4 +105,4 @@ class CXFA_LocaleValue { FX_BOOL m_bValid; }; -#endif // XFA_SRC_FXFA_SRC_COMMON_FXFA_LOCALVALUE_H_ +#endif // XFA_SRC_FXFA_SRC_COMMON_FXFA_LOCALEVALUE_H_ diff --git a/xfa/src/fxfa/src/common/xfa_parser.h b/xfa/src/fxfa/src/common/xfa_parser.h index 80cae0065b..3fbd62e44e 100644 --- a/xfa/src/fxfa/src/common/xfa_parser.h +++ b/xfa/src/fxfa/src/common/xfa_parser.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXFA_SRC_COMMON_XFA_PARSER_H -#define XFA_SRC_FXFA_SRC_COMMON_XFA_PARSER_H +#ifndef XFA_SRC_FXFA_SRC_COMMON_XFA_PARSER_H_ +#define XFA_SRC_FXFA_SRC_COMMON_XFA_PARSER_H_ class IFX_Stream; class IXFA_Parser { @@ -34,4 +34,4 @@ class IXFA_DocParser : public IXFA_Parser { virtual IXFA_Notify* GetNotify() const = 0; }; -#endif // XFA_SRC_FXFA_SRC_COMMON_XFA_PARSER_H +#endif // XFA_SRC_FXFA_SRC_COMMON_XFA_PARSER_H_ diff --git a/xfa/src/fxfa/src/common/xfa_script.h b/xfa/src/fxfa/src/common/xfa_script.h index 630a4fd329..0a859476c1 100644 --- a/xfa/src/fxfa/src/common/xfa_script.h +++ b/xfa/src/fxfa/src/common/xfa_script.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_SRC_FXFA_SRC_COMMON_XFA_SCRIPT_H -#define XFA_SRC_FXFA_SRC_COMMON_XFA_SCRIPT_H +#ifndef XFA_SRC_FXFA_SRC_COMMON_XFA_SCRIPT_H_ +#define XFA_SRC_FXFA_SRC_COMMON_XFA_SCRIPT_H_ #define XFA_RESOLVENODE_Children 0x0001 #define XFA_RESOLVENODE_Attributes 0x0004 @@ -108,4 +108,4 @@ class IXFA_ScriptContext { }; IXFA_ScriptContext* XFA_ScriptContext_Create(CXFA_Document* pDocument); -#endif // XFA_SRC_FXFA_SRC_COMMON_XFA_SCRIPT_H +#endif // XFA_SRC_FXFA_SRC_COMMON_XFA_SCRIPT_H_ -- cgit v1.2.3