Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(615)

Side by Side Diff: storage/browser/fileapi/file_system_dir_url_request_job.cc

Issue 539143002: Migrate webkit/browser/ to storage/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android build Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « storage/browser/fileapi/file_system_dir_url_request_job.h ('k') | storage/browser/fileapi/file_system_file_stream_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698