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

Side by Side Diff: core/fpdfapi/page/cpdf_streamparser.cpp

Issue 2521123003: Continue splitting pageint.h into per-class files (Closed)
Patch Set: const Created 4 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/fpdfapi/page/cpdf_streamparser.h ('k') | core/fpdfapi/page/cpdf_streamparser_unittest.cpp » ('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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 #include "core/fpdfapi/page/pageint.h" 7 #include "core/fpdfapi/page/cpdf_streamparser.h"
8 8
9 #include <limits.h> 9 #include <limits.h>
10 10
11 #include <memory> 11 #include <memory>
12 #include <utility> 12 #include <utility>
13 13
14 #include "core/fpdfapi/cpdf_modulemgr.h" 14 #include "core/fpdfapi/cpdf_modulemgr.h"
15 #include "core/fpdfapi/page/cpdf_docpagedata.h" 15 #include "core/fpdfapi/page/cpdf_docpagedata.h"
16 #include "core/fpdfapi/parser/cpdf_array.h" 16 #include "core/fpdfapi/parser/cpdf_array.h"
17 #include "core/fpdfapi/parser/cpdf_boolean.h" 17 #include "core/fpdfapi/parser/cpdf_boolean.h"
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 605
606 if (buf.GetLength() > kMaxStringLength) 606 if (buf.GetLength() > kMaxStringLength)
607 return CFX_ByteString(buf.GetBuffer(), kMaxStringLength); 607 return CFX_ByteString(buf.GetBuffer(), kMaxStringLength);
608 608
609 return buf.MakeString(); 609 return buf.MakeString();
610 } 610 }
611 611
612 bool CPDF_StreamParser::PositionIsInBounds() const { 612 bool CPDF_StreamParser::PositionIsInBounds() const {
613 return m_Pos < m_Size; 613 return m_Pos < m_Size;
614 } 614 }
OLDNEW
« no previous file with comments | « core/fpdfapi/page/cpdf_streamparser.h ('k') | core/fpdfapi/page/cpdf_streamparser_unittest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698