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

Unified Diff: pdf/document_loader.h

Issue 2911853002: Refactor PDF ChunkStream and DocumentLoader code. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « pdf/chunk_stream.cc ('k') | pdf/document_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/document_loader.h
diff --git a/pdf/document_loader.h b/pdf/document_loader.h
index 3e1fc8325628161e01c50f8147e5d0ff0b286eeb..127ca5d0ed922002db6de2001f122fbbccbcc4c3 100644
--- a/pdf/document_loader.h
+++ b/pdf/document_loader.h
@@ -110,7 +110,7 @@ class DocumentLoader {
ChunkStream chunk_stream_;
bool partial_document_;
bool request_pending_;
- typedef std::list<std::pair<size_t, size_t>> PendingRequests;
+ using PendingRequests = std::list<std::pair<size_t, size_t>>;
PendingRequests pending_requests_;
// The starting position of the HTTP request currently being processed.
size_t current_request_offset_;
« no previous file with comments | « pdf/chunk_stream.cc ('k') | pdf/document_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698