OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_BLOB_BLOB_URL_REQUEST_JOB_H_ | 5 #ifndef WEBKIT_BLOB_BLOB_URL_REQUEST_JOB_H_ |
6 #define WEBKIT_BLOB_BLOB_URL_REQUEST_JOB_H_ | 6 #define WEBKIT_BLOB_BLOB_URL_REQUEST_JOB_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 scoped_refptr<net::IOBuffer> read_buf_; | 80 scoped_refptr<net::IOBuffer> read_buf_; |
81 int read_buf_offset_; | 81 int read_buf_offset_; |
82 int read_buf_size_; | 82 int read_buf_size_; |
83 int read_buf_remaining_bytes_; | 83 int read_buf_remaining_bytes_; |
84 int bytes_to_read_; | 84 int bytes_to_read_; |
85 bool error_; | 85 bool error_; |
86 bool headers_set_; | 86 bool headers_set_; |
87 bool byte_range_set_; | 87 bool byte_range_set_; |
88 net::HttpByteRange byte_range_; | 88 net::HttpByteRange byte_range_; |
89 scoped_ptr<net::HttpResponseInfo> response_info_; | 89 scoped_ptr<net::HttpResponseInfo> response_info_; |
90 ScopedRunnableMethodFactory<BlobURLRequestJob> method_factory_; | |
91 | 90 |
92 DISALLOW_COPY_AND_ASSIGN(BlobURLRequestJob); | 91 DISALLOW_COPY_AND_ASSIGN(BlobURLRequestJob); |
93 }; | 92 }; |
94 | 93 |
95 } // namespace webkit_blob | 94 } // namespace webkit_blob |
96 | 95 |
97 #endif // WEBKIT_BLOB_BLOB_URL_REQUEST_JOB_H_ | 96 #endif // WEBKIT_BLOB_BLOB_URL_REQUEST_JOB_H_ |
OLD | NEW |