Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: core/src/fxcrt/xml_int.h

Issue 1160443004: Fix ALL the include guards. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef _FXCRT_XML_INT_ 7 #ifndef XML_INT_H_
8 #define _FXCRT_XML_INT_ 8 #define XML_INT_H_
9
9 class CXML_DataBufAcc : public IFX_BufferRead 10 class CXML_DataBufAcc : public IFX_BufferRead
10 { 11 {
11 public: 12 public:
12 CXML_DataBufAcc(FX_LPCBYTE pBuffer, size_t size) 13 CXML_DataBufAcc(FX_LPCBYTE pBuffer, size_t size)
13 : m_pBuffer(pBuffer) 14 : m_pBuffer(pBuffer)
14 , m_dwSize(size) 15 , m_dwSize(size)
15 , m_dwCurPos(0) 16 , m_dwCurPos(0)
16 { 17 {
17 } 18 }
18 virtual ~CXML_DataBufAcc() {} 19 virtual ~CXML_DataBufAcc() {}
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 void GetName(CFX_ByteString& space, CFX_ByteString& n ame); 152 void GetName(CFX_ByteString& space, CFX_ByteString& n ame);
152 void GetAttrValue(CFX_WideString &value); 153 void GetAttrValue(CFX_WideString &value);
153 FX_DWORD GetCharRef(); 154 FX_DWORD GetCharRef();
154 void GetTagName(CFX_ByteString &space, CFX_ByteString &name, FX_BOOL &bEndTag, FX_BOOL bStartTag = FALSE); 155 void GetTagName(CFX_ByteString &space, CFX_ByteString &name, FX_BOOL &bEndTag, FX_BOOL bStartTag = FALSE);
155 void SkipLiterals(FX_BSTR str); 156 void SkipLiterals(FX_BSTR str);
156 CXML_Element* ParseElement(CXML_Element* pParent, FX_BOOL bStartTag = FALSE); 157 CXML_Element* ParseElement(CXML_Element* pParent, FX_BOOL bStartTag = FALSE);
157 void InsertContentSegment(FX_BOOL bCDATA, FX_WSTR con tent, CXML_Element* pElement); 158 void InsertContentSegment(FX_BOOL bCDATA, FX_WSTR con tent, CXML_Element* pElement);
158 void InsertCDATASegment(CFX_UTF8Decoder& decoder, CXM L_Element* pElement); 159 void InsertCDATASegment(CFX_UTF8Decoder& decoder, CXM L_Element* pElement);
159 }; 160 };
160 void FX_XML_SplitQualifiedName(FX_BSTR bsFullName, CFX_ByteStringC &bsSpace, CFX _ByteStringC &bsName); 161 void FX_XML_SplitQualifiedName(FX_BSTR bsFullName, CFX_ByteStringC &bsSpace, CFX _ByteStringC &bsName);
161 #endif 162
163 #endif // XML_INT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698