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

Unified Diff: core/src/fpdfapi/fpdf_page/pageint.h

Issue 1408213008: Add test for CPDF_StreamParser::ReadHexString. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/src/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp ('k') | pdfium.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/src/fpdfapi/fpdf_page/pageint.h
diff --git a/core/src/fpdfapi/fpdf_page/pageint.h b/core/src/fpdfapi/fpdf_page/pageint.h
index 1b41633346d2db849ffb98672887560f6eb3d7cf..42929d868d8a0b94d30a09a744251628aff0a427 100644
--- a/core/src/fpdfapi/fpdf_page/pageint.h
+++ b/core/src/fpdfapi/fpdf_page/pageint.h
@@ -11,6 +11,10 @@
#include "../../../../third_party/base/nonstd_unique_ptr.h"
#include "../../../include/fpdfapi/fpdf_pageobj.h"
+#include "../../../include/fpdfapi/fpdf_page.h"
Tom Sepez 2015/11/02 20:59:22 nit: alphabetize.
dsinclair 2015/11/02 21:35:03 Done.
+
+class CPDF_AllStates;
+class CPDF_ParseOptions;
#define PARSE_STEP_LIMIT 100
@@ -41,6 +45,8 @@ class CPDF_StreamParser {
void SkipPathObject();
protected:
+ friend class fpdf_page_parser_old_ReadHexString_Test;
+
void GetNextWord(FX_BOOL& bIsNumber);
CFX_ByteString ReadString();
CFX_ByteString ReadHexString();
« no previous file with comments | « core/src/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp ('k') | pdfium.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698