From c7cd809fccd7c5f90c8a2db7ddec7289f9630f53 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 18 Feb 2016 15:02:55 -0500 Subject: 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 . --- xfa/include/fxfa/fxfa.h | 6 +++--- xfa/include/fxfa/fxfa_basic.h | 7 ++++--- xfa/include/fxfa/fxfa_objectacc.h | 6 +++--- xfa/include/fxfa/fxfa_widget.h | 8 +++++--- 4 files changed, 15 insertions(+), 12 deletions(-) (limited to 'xfa/include/fxfa') diff --git a/xfa/include/fxfa/fxfa.h b/xfa/include/fxfa/fxfa.h index 5a1b18469c..c92f392abe 100644 --- a/xfa/include/fxfa/fxfa.h +++ b/xfa/include/fxfa/fxfa.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef FXFA_H_ -#define FXFA_H_ +#ifndef XFA_INCLUDE_FXFA_FXFA_H_ +#define XFA_INCLUDE_FXFA_FXFA_H_ #include @@ -843,4 +843,4 @@ class IXFA_ChecksumContext { }; IXFA_ChecksumContext* XFA_Checksum_Create(); -#endif // FXFA_H_ +#endif // XFA_INCLUDE_FXFA_FXFA_H_ diff --git a/xfa/include/fxfa/fxfa_basic.h b/xfa/include/fxfa/fxfa_basic.h index 6e1979e042..e8731d23d8 100644 --- a/xfa/include/fxfa/fxfa_basic.h +++ b/xfa/include/fxfa/fxfa_basic.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FXFA_BASIC_H -#define _FXFA_BASIC_H +#ifndef XFA_INCLUDE_FXFA_FXFA_BASIC_H_ +#define XFA_INCLUDE_FXFA_FXFA_BASIC_H_ #include "xfa/include/fxjse/fxjse.h" @@ -1081,4 +1081,5 @@ typedef XFA_SCRIPTATTRIBUTEINFO const* XFA_LPCSCRIPTATTRIBUTEINFO; XFA_LPCSCRIPTATTRIBUTEINFO XFA_GetScriptAttributeByName( XFA_ELEMENT eElement, const CFX_WideStringC& wsAttributeName); -#endif + +#endif // XFA_INCLUDE_FXFA_FXFA_BASIC_H_ diff --git a/xfa/include/fxfa/fxfa_objectacc.h b/xfa/include/fxfa/fxfa_objectacc.h index f549a63e30..426ad73791 100644 --- a/xfa/include/fxfa/fxfa_objectacc.h +++ b/xfa/include/fxfa/fxfa_objectacc.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef FXFA_OBJECTACC_H_ -#define FXFA_OBJECTACC_H_ +#ifndef XFA_INCLUDE_FXFA_FXFA_OBJECTACC_H_ +#define XFA_INCLUDE_FXFA_FXFA_OBJECTACC_H_ #include "core/include/fxge/fx_dib.h" // For FX_ARGB. @@ -853,4 +853,4 @@ class CXFA_Manifest : public CXFA_Data { CFX_WideString GetRefContent(int32_t nIndex); }; -#endif // FXFA_OBJECTACC_H_ +#endif // XFA_INCLUDE_FXFA_FXFA_OBJECTACC_H_ diff --git a/xfa/include/fxfa/fxfa_widget.h b/xfa/include/fxfa/fxfa_widget.h index eda5e5769a..5994b81b3c 100644 --- a/xfa/include/fxfa/fxfa_widget.h +++ b/xfa/include/fxfa/fxfa_widget.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FXFA_WIDGET_H -#define _FXFA_WIDGET_H +#ifndef XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ +#define XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ + class CXFA_Node; class CXFA_FFDocView; class CXFA_FFDoc; @@ -115,4 +116,5 @@ class CXFA_WidgetAcc : public CXFA_WidgetData { CXFA_WidgetLayoutData* m_pLayoutData; uint32_t m_nRecursionDepth; }; -#endif + +#endif // XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ -- cgit v1.2.3