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

Side by Side Diff: webkit/browser/fileapi/file_system_url_request_job.cc

Issue 15658004: Split FileAPI code for common|common_child|renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
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_url_request_job.h" 5 #include "webkit/browser/fileapi/file_system_url_request_job.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 11 matching lines...) Expand all
22 #include "net/base/mime_util.h" 22 #include "net/base/mime_util.h"
23 #include "net/base/net_errors.h" 23 #include "net/base/net_errors.h"
24 #include "net/base/net_util.h" 24 #include "net/base/net_util.h"
25 #include "net/http/http_response_headers.h" 25 #include "net/http/http_response_headers.h"
26 #include "net/http/http_response_info.h" 26 #include "net/http/http_response_info.h"
27 #include "net/http/http_util.h" 27 #include "net/http/http_util.h"
28 #include "net/url_request/url_request.h" 28 #include "net/url_request/url_request.h"
29 #include "webkit/blob/file_stream_reader.h" 29 #include "webkit/blob/file_stream_reader.h"
30 #include "webkit/browser/fileapi/file_system_context.h" 30 #include "webkit/browser/fileapi/file_system_context.h"
31 #include "webkit/browser/fileapi/local_file_system_operation.h" 31 #include "webkit/browser/fileapi/local_file_system_operation.h"
32 #include "webkit/fileapi/file_system_util.h" 32 #include "webkit/common/fileapi/file_system_util.h"
33 33
34 using net::NetworkDelegate; 34 using net::NetworkDelegate;
35 using net::URLRequest; 35 using net::URLRequest;
36 using net::URLRequestJob; 36 using net::URLRequestJob;
37 using net::URLRequestStatus; 37 using net::URLRequestStatus;
38 38
39 namespace fileapi { 39 namespace fileapi {
40 40
41 static net::HttpResponseHeaders* CreateHttpResponseHeaders() { 41 static net::HttpResponseHeaders* CreateHttpResponseHeaders() {
42 // HttpResponseHeaders expects its input string to be terminated by two NULs. 42 // HttpResponseHeaders expects its input string to be terminated by two NULs.
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 } 240 }
241 241
242 return false; 242 return false;
243 } 243 }
244 244
245 void FileSystemURLRequestJob::NotifyFailed(int rv) { 245 void FileSystemURLRequestJob::NotifyFailed(int rv) {
246 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, rv)); 246 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, rv));
247 } 247 }
248 248
249 } // namespace fileapi 249 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/file_system_url.cc ('k') | webkit/browser/fileapi/file_system_url_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698