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

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

Issue 18562010: pdfviewer: measure mem usage, command line flags library. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 months 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/SkNativeParsedPDF.h
===================================================================
--- experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.h (revision 9988)
+++ experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.h (working copy)
@@ -17,8 +17,6 @@
class SkPdfPageObjectDictionary;
class SkPdfPageTreeNodeDictionary;
-
-
class SkPdfNativeTokenizer;
class SkNativeParsedPDF {
@@ -63,6 +61,9 @@
SkPdfObject* resolveReference(const SkPdfObject* ref);
+ // Reports an approximation of all the memory usage.
+ size_t bytesUsed();
+
private:
unsigned char* readCrossReferenceSection(unsigned char* xrefStart, unsigned char* trailerEnd);
« no previous file with comments | « experimental/PdfViewer/pdf_viewer_main.cpp ('k') | experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698