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

Unified Diff: core/fpdfapi/parser/cpdf_syntax_parser.h

Issue 2469833002: Clean up CPDF_SyntaxParser a little bit (Closed)
Patch Set: Replace C-cast with static_casts 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 side-by-side diff with in-line comments
Download patch
Index: core/fpdfapi/parser/cpdf_syntax_parser.h
diff --git a/core/fpdfapi/parser/cpdf_syntax_parser.h b/core/fpdfapi/parser/cpdf_syntax_parser.h
index 5694d233e1859da7cc589d8a3dcd58a768bb92d5..bcc088a4f64a00a18645007215dfb73b94367acc 100644
--- a/core/fpdfapi/parser/cpdf_syntax_parser.h
+++ b/core/fpdfapi/parser/cpdf_syntax_parser.h
@@ -47,9 +47,6 @@ class CPDF_SyntaxParser {
FX_BOOL bWholeWord,
FX_BOOL bForward,
FX_FILESIZE limit);
- int SearchMultiWord(const CFX_ByteStringC& words,
- FX_BOOL bWholeWord,
- FX_FILESIZE limit);
FX_FILESIZE FindTag(const CFX_ByteStringC& tag, FX_FILESIZE limit);
void SetEncrypt(std::unique_ptr<CPDF_CryptoHandler> pCryptoHandler);
@@ -67,6 +64,7 @@ class CPDF_SyntaxParser {
static int s_CurrentRecursionDepth;
uint32_t GetDirectNum();
+ FX_BOOL ReadChar(FX_FILESIZE read_pos, uint32_t read_size);
FX_BOOL GetNextChar(uint8_t& ch);
FX_BOOL GetCharAtBackward(FX_FILESIZE pos, uint8_t& ch);
void GetNextWordInternal(bool* bIsNumber);
« no previous file with comments | « no previous file | core/fpdfapi/parser/cpdf_syntax_parser.cpp » ('j') | core/fpdfapi/parser/cpdf_syntax_parser.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698