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 #include "webkit/browser/fileapi/file_system_dir_url_request_job.h" | 5 #include "storage/browser/fileapi/file_system_dir_url_request_job.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "base/strings/sys_string_conversions.h" | 12 #include "base/strings/sys_string_conversions.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
16 #include "net/base/io_buffer.h" | 16 #include "net/base/io_buffer.h" |
17 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
18 #include "net/base/net_util.h" | 18 #include "net/base/net_util.h" |
19 #include "net/url_request/url_request.h" | 19 #include "net/url_request/url_request.h" |
| 20 #include "storage/browser/fileapi/file_system_context.h" |
| 21 #include "storage/browser/fileapi/file_system_operation_runner.h" |
| 22 #include "storage/browser/fileapi/file_system_url.h" |
| 23 #include "storage/common/fileapi/directory_entry.h" |
| 24 #include "storage/common/fileapi/file_system_util.h" |
20 #include "url/gurl.h" | 25 #include "url/gurl.h" |
21 #include "webkit/browser/fileapi/file_system_context.h" | |
22 #include "webkit/browser/fileapi/file_system_operation_runner.h" | |
23 #include "webkit/browser/fileapi/file_system_url.h" | |
24 #include "webkit/common/fileapi/directory_entry.h" | |
25 #include "webkit/common/fileapi/file_system_util.h" | |
26 | 26 |
27 using net::NetworkDelegate; | 27 using net::NetworkDelegate; |
28 using net::URLRequest; | 28 using net::URLRequest; |
29 using net::URLRequestJob; | 29 using net::URLRequestJob; |
30 using net::URLRequestStatus; | 30 using net::URLRequestStatus; |
31 | 31 |
32 namespace storage { | 32 namespace storage { |
33 | 33 |
34 FileSystemDirURLRequestJob::FileSystemDirURLRequestJob( | 34 FileSystemDirURLRequestJob::FileSystemDirURLRequestJob( |
35 URLRequest* request, | 35 URLRequest* request, |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 it->last_modified_time)); | 151 it->last_modified_time)); |
152 } | 152 } |
153 | 153 |
154 if (!has_more) { | 154 if (!has_more) { |
155 set_expected_content_size(data_.size()); | 155 set_expected_content_size(data_.size()); |
156 NotifyHeadersComplete(); | 156 NotifyHeadersComplete(); |
157 } | 157 } |
158 } | 158 } |
159 | 159 |
160 } // namespace storage | 160 } // namespace storage |
OLD | NEW |