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

Side by Side Diff: pdf/document_loader.h

Issue 1533413002: Switch to standard integer types in pdf/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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 unified diff | Download patch
« no previous file with comments | « pdf/chunk_stream.cc ('k') | pdf/document_loader.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>
9 #include <stdint.h>
10
8 #include <list> 11 #include <list>
9 #include <string> 12 #include <string>
10 #include <utility> 13 #include <utility>
11 #include <vector> 14 #include <vector>
12 15
13 #include "base/basictypes.h"
14 #include "pdf/chunk_stream.h" 16 #include "pdf/chunk_stream.h"
15 #include "ppapi/cpp/url_loader.h" 17 #include "ppapi/cpp/url_loader.h"
16 #include "ppapi/utility/completion_callback_factory.h" 18 #include "ppapi/utility/completion_callback_factory.h"
17 19
18 namespace chrome_pdf { 20 namespace chrome_pdf {
19 21
20 class DocumentLoader { 22 class DocumentLoader {
21 public: 23 public:
22 class Client { 24 class Client {
23 public: 25 public:
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 bool header_request_; 127 bool header_request_;
126 bool is_multipart_; 128 bool is_multipart_;
127 std::string multipart_boundary_; 129 std::string multipart_boundary_;
128 uint32_t requests_count_; 130 uint32_t requests_count_;
129 std::list<std::vector<unsigned char> > chunk_buffer_; 131 std::list<std::vector<unsigned char> > chunk_buffer_;
130 }; 132 };
131 133
132 } // namespace chrome_pdf 134 } // namespace chrome_pdf
133 135
134 #endif // PDF_DOCUMENT_LOADER_H_ 136 #endif // PDF_DOCUMENT_LOADER_H_
OLDNEW
« 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