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

Unified Diff: experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.h

Issue 80463005: Separate and update PDF_DIFF_TRACE_IN_PNG (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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: experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.h
diff --git a/experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.h b/experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.h
index 8ed354cfa138a8fe08f32f461ed0f16fb1733695..8db55a093412abd215951e2016c0ad2cd03f84a6 100644
--- a/experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.h
+++ b/experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.h
@@ -165,7 +165,9 @@ public:
virtual ~SkPdfNativeTokenizer();
// Reads one token. Returns false if there are no more tokens.
- bool readToken(PdfToken* token);
+ // If write is true, and a token was read, write the difference caused by
+ // token to a file.
+ bool readToken(PdfToken* token, bool write = false);
mtklein 2013/11/22 14:46:12 maybe writeDiff?
scroggo 2013/11/22 15:47:16 Done.
// Put back a token to be read in the nextToken read. Only one token is allowed to be put
// back. Must not necesaarely be the last token read.

Powered by Google App Engine
This is Rietveld 408576698