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_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_ | 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_ |
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_ | 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/message_loop_proxy.h" | 13 #include "base/message_loop_proxy.h" |
14 #include "base/platform_file.h" | 14 #include "base/platform_file.h" |
15 #include "base/task.h" | |
16 #include "net/http/http_byte_range.h" | 15 #include "net/http/http_byte_range.h" |
17 #include "net/url_request/url_request_job.h" | 16 #include "net/url_request/url_request_job.h" |
18 | 17 |
19 class GURL; | 18 class GURL; |
20 class FilePath; | 19 class FilePath; |
21 | 20 |
22 namespace net { | 21 namespace net { |
23 class FileStream; | 22 class FileStream; |
24 } | 23 } |
25 | 24 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 scoped_ptr<net::HttpResponseInfo> response_info_; | 70 scoped_ptr<net::HttpResponseInfo> response_info_; |
72 int64 remaining_bytes_; | 71 int64 remaining_bytes_; |
73 net::HttpByteRange byte_range_; | 72 net::HttpByteRange byte_range_; |
74 | 73 |
75 DISALLOW_COPY_AND_ASSIGN(FileSystemURLRequestJob); | 74 DISALLOW_COPY_AND_ASSIGN(FileSystemURLRequestJob); |
76 }; | 75 }; |
77 | 76 |
78 } // namespace fileapi | 77 } // namespace fileapi |
79 | 78 |
80 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_ | 79 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_H_ |
OLD | NEW |