summaryrefslogtreecommitdiff
path: root/xfa/src/fxfa
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-02-22 11:56:05 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-02-22 11:56:05 -0500
commit22d6607d104d4cb8c5263c4d307b4ba1e4ff959e (patch)
tree5a3567227e10a988484c329b7fdf315efb3c988a /xfa/src/fxfa
parent33364e2d6f9549d7964611097c663264548a5d68 (diff)
downloadpdfium-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/src/fxfa')
-rw-r--r--xfa/src/fxfa/src/common/fxfa_localevalue.h6
-rw-r--r--xfa/src/fxfa/src/common/xfa_parser.h6
-rw-r--r--xfa/src/fxfa/src/common/xfa_script.h6
3 files changed, 9 insertions, 9 deletions
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_