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

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

Issue 1427633010: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month 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
« no previous file with comments | « core/src/fxcrt/plex.h ('k') | core/src/fxge/agg/include/fx_agg_driver.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CORE_SRC_FXCRT_XML_INT_H_ 7 #ifndef CORE_SRC_FXCRT_XML_INT_H_
8 #define CORE_SRC_FXCRT_XML_INT_H_ 8 #define CORE_SRC_FXCRT_XML_INT_H_
9 9
10 #include "../../include/fxcrt/fx_stream.h" 10 #include "core/include/fxcrt/fx_stream.h"
11
12 class CFX_UTF8Decoder;
13 class CXML_Element;
11 14
12 class CXML_DataBufAcc : public IFX_BufferRead { 15 class CXML_DataBufAcc : public IFX_BufferRead {
13 public: 16 public:
14 CXML_DataBufAcc(const uint8_t* pBuffer, size_t size) 17 CXML_DataBufAcc(const uint8_t* pBuffer, size_t size)
15 : m_pBuffer(pBuffer), m_dwSize(size), m_dwCurPos(0) {} 18 : m_pBuffer(pBuffer), m_dwSize(size), m_dwCurPos(0) {}
16 ~CXML_DataBufAcc() override {} 19 ~CXML_DataBufAcc() override {}
17 20
18 // IFX_BufferRead 21 // IFX_BufferRead
19 void Release() override { delete this; } 22 void Release() override { delete this; }
20 FX_BOOL IsEOF() override { return m_dwCurPos >= m_dwSize; } 23 FX_BOOL IsEOF() override { return m_dwCurPos >= m_dwSize; }
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 const CFX_WideStringC& content, 118 const CFX_WideStringC& content,
116 CXML_Element* pElement); 119 CXML_Element* pElement);
117 void InsertCDATASegment(CFX_UTF8Decoder& decoder, CXML_Element* pElement); 120 void InsertCDATASegment(CFX_UTF8Decoder& decoder, CXML_Element* pElement);
118 }; 121 };
119 122
120 void FX_XML_SplitQualifiedName(const CFX_ByteStringC& bsFullName, 123 void FX_XML_SplitQualifiedName(const CFX_ByteStringC& bsFullName,
121 CFX_ByteStringC& bsSpace, 124 CFX_ByteStringC& bsSpace,
122 CFX_ByteStringC& bsName); 125 CFX_ByteStringC& bsName);
123 126
124 #endif // CORE_SRC_FXCRT_XML_INT_H_ 127 #endif // CORE_SRC_FXCRT_XML_INT_H_
OLDNEW
« no previous file with comments | « core/src/fxcrt/plex.h ('k') | core/src/fxge/agg/include/fx_agg_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698