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

Side by Side Diff: webkit/browser/blob/blob_url_request_job.cc

Issue 15746017: Move webkit/blob to new locations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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/blob/blob_url_request_job.h" 5 #include "webkit/browser/blob/blob_url_request_job.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/files/file_util_proxy.h" 12 #include "base/files/file_util_proxy.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/message_loop_proxy.h" 14 #include "base/message_loop_proxy.h"
15 #include "base/stl_util.h" 15 #include "base/stl_util.h"
16 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
17 #include "net/base/io_buffer.h" 17 #include "net/base/io_buffer.h"
18 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
19 #include "net/http/http_request_headers.h" 19 #include "net/http/http_request_headers.h"
20 #include "net/http/http_response_headers.h" 20 #include "net/http/http_response_headers.h"
21 #include "net/http/http_response_info.h" 21 #include "net/http/http_response_info.h"
22 #include "net/http/http_util.h" 22 #include "net/http/http_util.h"
23 #include "net/url_request/url_request.h" 23 #include "net/url_request/url_request.h"
24 #include "net/url_request/url_request_context.h" 24 #include "net/url_request/url_request_context.h"
25 #include "net/url_request/url_request_error_job.h" 25 #include "net/url_request/url_request_error_job.h"
26 #include "net/url_request/url_request_status.h" 26 #include "net/url_request/url_request_status.h"
27 #include "webkit/blob/local_file_stream_reader.h" 27 #include "webkit/browser/blob/local_file_stream_reader.h"
28 #include "webkit/fileapi/file_system_context.h" 28 #include "webkit/browser/fileapi/file_system_context.h"
29 #include "webkit/fileapi/file_system_url.h" 29 #include "webkit/browser/fileapi/file_system_url.h"
30 30
31 namespace webkit_blob { 31 namespace webkit_blob {
32 32
33 namespace { 33 namespace {
34 34
35 const int kHTTPOk = 200; 35 const int kHTTPOk = 200;
36 const int kHTTPPartialContent = 206; 36 const int kHTTPPartialContent = 206;
37 const int kHTTPNotAllowed = 403; 37 const int kHTTPNotAllowed = 403;
38 const int kHTTPNotFound = 404; 38 const int kHTTPNotFound = 404;
39 const int kHTTPMethodNotAllow = 405; 39 const int kHTTPMethodNotAllow = 405;
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 item.expected_modification_time()).release(); 598 item.expected_modification_time()).release();
599 break; 599 break;
600 default: 600 default:
601 NOTREACHED(); 601 NOTREACHED();
602 } 602 }
603 DCHECK(reader); 603 DCHECK(reader);
604 index_to_reader_[index] = reader; 604 index_to_reader_[index] = reader;
605 } 605 }
606 606
607 } // namespace webkit_blob 607 } // namespace webkit_blob
OLDNEW
« no previous file with comments | « webkit/browser/blob/blob_url_request_job.h ('k') | webkit/browser/blob/blob_url_request_job_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698