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/include | |
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/include')
-rw-r--r-- | xfa/include/fwl/adapter/fwl_sdadapterimp.h | 6 | ||||
-rw-r--r-- | xfa/include/fwl/basewidget/fwl_menu.h | 2 | ||||
-rw-r--r-- | xfa/include/fwl/lightwidget/tooltipctrl.h | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/xfa/include/fwl/adapter/fwl_sdadapterimp.h b/xfa/include/fwl/adapter/fwl_sdadapterimp.h index 751ab36970..97125e5431 100644 --- a/xfa/include/fwl/adapter/fwl_sdadapterimp.h +++ b/xfa/include/fwl/adapter/fwl_sdadapterimp.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_INCLUDE_FWL_ADAPTER_FWL_SDAPATERIMP_H_ -#define XFA_INCLUDE_FWL_ADAPTER_FWL_SDAPATERIMP_H_ +#ifndef XFA_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_ +#define XFA_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_ class IFWL_AdapterNative; class IFWL_AdapterWidgetMgr; @@ -90,4 +90,4 @@ class CFWL_SDAdapterThreadMgr : public IFWL_AdapterThreadMgr { virtual IFWL_Thread* GetCurrentThread(); }; -#endif // XFA_INCLUDE_FWL_ADAPTER_FWL_SDAPATERIMP_H_ +#endif // XFA_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_ diff --git a/xfa/include/fwl/basewidget/fwl_menu.h b/xfa/include/fwl/basewidget/fwl_menu.h index 9b6f321d94..d8ab0d9292 100644 --- a/xfa/include/fwl/basewidget/fwl_menu.h +++ b/xfa/include/fwl/basewidget/fwl_menu.h @@ -14,4 +14,4 @@ #define FWL_STYLEEXT_MNU_Dock (1L << 1) #define FWL_STYLEEXT_MNU_OwnerDraw (1L << 2) -#endif // XFA_INCLUDE_FWL_BASEWIDGET_ +#endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_MENU_H_ diff --git a/xfa/include/fwl/lightwidget/tooltipctrl.h b/xfa/include/fwl/lightwidget/tooltipctrl.h index fb82548ca0..9b92f35242 100644 --- a/xfa/include/fwl/lightwidget/tooltipctrl.h +++ b/xfa/include/fwl/lightwidget/tooltipctrl.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIP_CTRL_H_ -#define XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIP_CTRL_H_ +#ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIPCTRL_H_ +#define XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIPCTRL_H_ class CFWL_Widget; class CFWL_WidgetProperties; @@ -52,4 +52,4 @@ class CFWL_ToolTip : public CFWL_Widget { CFWL_ToolTipDP m_tooltipData; }; -#endif // XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIP_CTRL_H_ +#endif // XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIPCTRL_H_ |