OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PDF_DOCUMENT_LOADER_H_ | 5 #ifndef PDF_DOCUMENT_LOADER_H_ |
6 #define PDF_DOCUMENT_LOADER_H_ | 6 #define PDF_DOCUMENT_LOADER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 size_t current_request_extended_size_; | 121 size_t current_request_extended_size_; |
122 char buffer_[kDefaultRequestSize]; | 122 char buffer_[kDefaultRequestSize]; |
123 uint32_t current_pos_; | 123 uint32_t current_pos_; |
124 uint32_t current_chunk_size_; | 124 uint32_t current_chunk_size_; |
125 uint32_t current_chunk_read_; | 125 uint32_t current_chunk_read_; |
126 uint32_t document_size_; | 126 uint32_t document_size_; |
127 bool header_request_; | 127 bool header_request_; |
128 bool is_multipart_; | 128 bool is_multipart_; |
129 std::string multipart_boundary_; | 129 std::string multipart_boundary_; |
130 uint32_t requests_count_; | 130 uint32_t requests_count_; |
131 std::list<std::vector<unsigned char> > chunk_buffer_; | 131 std::vector<std::vector<unsigned char> > chunk_buffer_; |
132 }; | 132 }; |
133 | 133 |
134 } // namespace chrome_pdf | 134 } // namespace chrome_pdf |
135 | 135 |
136 #endif // PDF_DOCUMENT_LOADER_H_ | 136 #endif // PDF_DOCUMENT_LOADER_H_ |
OLD | NEW |