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 #ifndef WEBKIT_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_H_ | 5 #ifndef WEBKIT_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_H_ |
6 #define WEBKIT_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_H_ | 6 #define WEBKIT_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/platform_file.h" | |
13 #include "net/http/http_byte_range.h" | 12 #include "net/http/http_byte_range.h" |
14 #include "net/http/http_status_code.h" | 13 #include "net/http/http_status_code.h" |
15 #include "net/url_request/url_request_job.h" | 14 #include "net/url_request/url_request_job.h" |
16 #include "webkit/browser/webkit_storage_browser_export.h" | 15 #include "webkit/browser/webkit_storage_browser_export.h" |
17 #include "webkit/common/blob/blob_data.h" | 16 #include "webkit/common/blob/blob_data.h" |
18 | 17 |
19 namespace base { | 18 namespace base { |
20 class MessageLoopProxy; | 19 class MessageLoopProxy; |
21 struct PlatformFileInfo; | |
22 } | 20 } |
23 | 21 |
24 namespace fileapi { | 22 namespace fileapi { |
25 class FileSystemContext; | 23 class FileSystemContext; |
26 } | 24 } |
27 | 25 |
28 namespace net { | 26 namespace net { |
29 class DrainableIOBuffer; | 27 class DrainableIOBuffer; |
30 class IOBuffer; | 28 class IOBuffer; |
31 } | 29 } |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 scoped_ptr<net::HttpResponseInfo> response_info_; | 120 scoped_ptr<net::HttpResponseInfo> response_info_; |
123 | 121 |
124 base::WeakPtrFactory<BlobURLRequestJob> weak_factory_; | 122 base::WeakPtrFactory<BlobURLRequestJob> weak_factory_; |
125 | 123 |
126 DISALLOW_COPY_AND_ASSIGN(BlobURLRequestJob); | 124 DISALLOW_COPY_AND_ASSIGN(BlobURLRequestJob); |
127 }; | 125 }; |
128 | 126 |
129 } // namespace webkit_blob | 127 } // namespace webkit_blob |
130 | 128 |
131 #endif // WEBKIT_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_H_ | 129 #endif // WEBKIT_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_H_ |
OLD | NEW |