| 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_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_ |
| 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_ | 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/files/file.h" | 13 #include "base/files/file.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
| 18 #include "net/http/http_byte_range.h" | 18 #include "net/http/http_byte_range.h" |
| 19 #include "net/url_request/url_request_job.h" | 19 #include "net/url_request/url_request_job.h" |
| 20 #include "storage/browser/fileapi/file_system_url.h" | 20 #include "storage/browser/fileapi/file_system_url.h" |
| 21 #include "storage/browser/storage_browser_export.h" | 21 #include "storage/browser/storage_browser_export.h" |
| 22 | 22 |
| 23 class GURL; | 23 class GURL; |
| 24 | 24 |
| 25 namespace base { | |
| 26 class FilePath; | |
| 27 } | |
| 28 | |
| 29 namespace storage { | 25 namespace storage { |
| 30 class FileStreamReader; | 26 class FileStreamReader; |
| 31 } | 27 } |
| 32 | 28 |
| 33 namespace storage { | 29 namespace storage { |
| 34 class FileSystemContext; | 30 class FileSystemContext; |
| 35 | 31 |
| 36 // A request job that handles reading filesystem: URLs | 32 // A request job that handles reading filesystem: URLs |
| 37 class STORAGE_EXPORT FileSystemURLRequestJob : public net::URLRequestJob { | 33 class STORAGE_EXPORT FileSystemURLRequestJob : public net::URLRequestJob { |
| 38 public: | 34 public: |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 net::Error range_parse_result_; | 71 net::Error range_parse_result_; |
| 76 net::HttpByteRange byte_range_; | 72 net::HttpByteRange byte_range_; |
| 77 base::WeakPtrFactory<FileSystemURLRequestJob> weak_factory_; | 73 base::WeakPtrFactory<FileSystemURLRequestJob> weak_factory_; |
| 78 | 74 |
| 79 DISALLOW_COPY_AND_ASSIGN(FileSystemURLRequestJob); | 75 DISALLOW_COPY_AND_ASSIGN(FileSystemURLRequestJob); |
| 80 }; | 76 }; |
| 81 | 77 |
| 82 } // namespace storage | 78 } // namespace storage |
| 83 | 79 |
| 84 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_ | 80 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_ |
| OLD | NEW |