| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 STORAGE_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_H_ | 5 #ifndef STORAGE_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_H_ |
| 6 #define STORAGE_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_H_ | 6 #define STORAGE_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "net/http/http_byte_range.h" | 16 #include "net/http/http_byte_range.h" |
| 17 #include "net/http/http_status_code.h" | 17 #include "net/http/http_status_code.h" |
| 18 #include "net/url_request/url_request_job.h" | 18 #include "net/url_request/url_request_job.h" |
| 19 #include "storage/browser/blob/blob_reader.h" | 19 #include "storage/browser/blob/blob_reader.h" |
| 20 #include "storage/browser/storage_browser_export.h" | 20 #include "storage/browser/storage_browser_export.h" |
| 21 | 21 |
| 22 namespace base { | 22 namespace base { |
| 23 class SingleThreadTaskRunner; | 23 class SingleThreadTaskRunner; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace net { | 26 namespace net { |
| 27 class DrainableIOBuffer; | |
| 28 class IOBuffer; | 27 class IOBuffer; |
| 29 } | 28 } |
| 30 | 29 |
| 31 namespace storage { | 30 namespace storage { |
| 32 | 31 |
| 33 class BlobDataHandle; | 32 class BlobDataHandle; |
| 34 class FileStreamReader; | 33 class FileStreamReader; |
| 35 class FileSystemContext; | 34 class FileSystemContext; |
| 36 | 35 |
| 37 // A request job that handles reading blob URLs. | 36 // A request job that handles reading blob URLs. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 std::unique_ptr<net::HttpResponseInfo> response_info_; | 78 std::unique_ptr<net::HttpResponseInfo> response_info_; |
| 80 | 79 |
| 81 base::WeakPtrFactory<BlobURLRequestJob> weak_factory_; | 80 base::WeakPtrFactory<BlobURLRequestJob> weak_factory_; |
| 82 | 81 |
| 83 DISALLOW_COPY_AND_ASSIGN(BlobURLRequestJob); | 82 DISALLOW_COPY_AND_ASSIGN(BlobURLRequestJob); |
| 84 }; | 83 }; |
| 85 | 84 |
| 86 } // namespace storage | 85 } // namespace storage |
| 87 | 86 |
| 88 #endif // STORAGE_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_H_ | 87 #endif // STORAGE_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_H_ |
| OLD | NEW |