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/fwl/adapter/fwl_adapternative.h | 6 +++--- xfa/include/fwl/adapter/fwl_adapterthreadmgr.h | 6 +++--- xfa/include/fwl/adapter/fwl_adaptertimermgr.h | 7 ++++--- xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h | 8 +++++--- xfa/include/fwl/adapter/fwl_sdadapterimp.h | 8 +++++--- 5 files changed, 20 insertions(+), 15 deletions(-) (limited to 'xfa/include/fwl/adapter') diff --git a/xfa/include/fwl/adapter/fwl_adapternative.h b/xfa/include/fwl/adapter/fwl_adapternative.h index 3ea5c89270..83e6fd9af8 100644 --- a/xfa/include/fwl/adapter/fwl_adapternative.h +++ b/xfa/include/fwl/adapter/fwl_adapternative.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef FWL_ADAPTERNATIVE_H_ -#define FWL_ADAPTERNATIVE_H_ +#ifndef XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERNATIVE_H_ +#define XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERNATIVE_H_ class IFWL_WidgetMgrDelegate; class IFWL_AdapterWidgetMgr; @@ -21,4 +21,4 @@ class IFWL_AdapterNative { virtual IFWL_AdapterTimerMgr* GetTimerMgr() = 0; }; -#endif // FWL_ADAPTERNATIVE_H_ +#endif // XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERNATIVE_H_ diff --git a/xfa/include/fwl/adapter/fwl_adapterthreadmgr.h b/xfa/include/fwl/adapter/fwl_adapterthreadmgr.h index d45b82a8e6..1bb9c9e72f 100644 --- a/xfa/include/fwl/adapter/fwl_adapterthreadmgr.h +++ b/xfa/include/fwl/adapter/fwl_adapterthreadmgr.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef FWL_ADAPTERTHREADMGR_H_ -#define FWL_ADAPTERTHREADMGR_H_ +#ifndef XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERTHREADMGR_H_ +#define XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERTHREADMGR_H_ class IFWL_Thread; @@ -21,4 +21,4 @@ class IFWL_AdapterThreadMgr { virtual FWL_ERR Stop(FWL_HTHREAD hThread, int32_t iExitCode) = 0; virtual IFWL_Thread* GetCurrentThread() = 0; }; -#endif // FWL_ADAPTERTHREADMGR_H_ +#endif // XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERTHREADMGR_H_ diff --git a/xfa/include/fwl/adapter/fwl_adaptertimermgr.h b/xfa/include/fwl/adapter/fwl_adaptertimermgr.h index 37cdf86f23..f8b0daab86 100644 --- a/xfa/include/fwl/adapter/fwl_adaptertimermgr.h +++ b/xfa/include/fwl/adapter/fwl_adaptertimermgr.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FWL_ADAPTER_TIMERMGR_H -#define _FWL_ADAPTER_TIMERMGR_H +#ifndef XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERTIMERMGR_H_ +#define XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERTIMERMGR_H_ #include "xfa/include/fwl/core/fwl_error.h" #include "xfa/include/fwl/core/fwl_timer.h" @@ -21,4 +21,5 @@ class IFWL_AdapterTimerMgr { FX_BOOL bImmediately = TRUE) = 0; virtual FWL_ERR Stop(FWL_HTIMER hTimer) = 0; }; -#endif + +#endif // XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERTIMERMGR_H_ diff --git a/xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h b/xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h index 9edae0dfc2..ed9bd0fa80 100644 --- a/xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h +++ b/xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FWL_ADAPTER_WIDGETMGR_H -#define _FWL_ADAPTER_WIDGETMGR_H +#ifndef XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERWIDGETMGR_H_ +#define XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERWIDGETMGR_H_ + class IFWL_Widget; class IFWL_Menu; class IFWL_MenuDP; @@ -73,4 +74,5 @@ class IFWL_AdapterWidgetMgr { const CFX_RectF& rtAnchor, CFX_RectF& rtPopup) = 0; }; -#endif + +#endif // XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERWIDGETMGR_H_ diff --git a/xfa/include/fwl/adapter/fwl_sdadapterimp.h b/xfa/include/fwl/adapter/fwl_sdadapterimp.h index 29ed93edd5..751ab36970 100644 --- a/xfa/include/fwl/adapter/fwl_sdadapterimp.h +++ b/xfa/include/fwl/adapter/fwl_sdadapterimp.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FWL_SDAPATER_IMP_H -#define _FWL_SDAPATER_IMP_H +#ifndef XFA_INCLUDE_FWL_ADAPTER_FWL_SDAPATERIMP_H_ +#define XFA_INCLUDE_FWL_ADAPTER_FWL_SDAPATERIMP_H_ + class IFWL_AdapterNative; class IFWL_AdapterWidgetMgr; class IFWL_AdapterThreadMgr; @@ -88,4 +89,5 @@ class CFWL_SDAdapterThreadMgr : public IFWL_AdapterThreadMgr { virtual FWL_ERR Stop(FWL_HTHREAD hThread, int32_t iExitCode); virtual IFWL_Thread* GetCurrentThread(); }; -#endif + +#endif // XFA_INCLUDE_FWL_ADAPTER_FWL_SDAPATERIMP_H_ -- cgit v1.2.3