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

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

Issue 16701004: Fix webkit_storage exports definitions (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 #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" 12 #include "base/platform_file.h"
13 #include "net/http/http_byte_range.h" 13 #include "net/http/http_byte_range.h"
14 #include "net/http/http_status_code.h" 14 #include "net/http/http_status_code.h"
15 #include "net/url_request/url_request_job.h" 15 #include "net/url_request/url_request_job.h"
16 #include "webkit/browser/webkit_storage_browser_export.h"
16 #include "webkit/common/blob/blob_data.h" 17 #include "webkit/common/blob/blob_data.h"
17 #include "webkit/storage/webkit_storage_export.h"
18 18
19 namespace base { 19 namespace base {
20 class MessageLoopProxy; 20 class MessageLoopProxy;
21 struct PlatformFileInfo; 21 struct PlatformFileInfo;
22 } 22 }
23 23
24 namespace fileapi { 24 namespace fileapi {
25 class FileSystemContext; 25 class FileSystemContext;
26 } 26 }
27 27
28 namespace net { 28 namespace net {
29 class DrainableIOBuffer; 29 class DrainableIOBuffer;
30 class IOBuffer; 30 class IOBuffer;
31 } 31 }
32 32
33 namespace webkit_blob { 33 namespace webkit_blob {
34 34
35 class FileStreamReader; 35 class FileStreamReader;
36 36
37 // A request job that handles reading blob URLs. 37 // A request job that handles reading blob URLs.
38 class WEBKIT_STORAGE_EXPORT BlobURLRequestJob : public net::URLRequestJob { 38 class WEBKIT_STORAGE_BROWSER_EXPORT BlobURLRequestJob
39 : public net::URLRequestJob {
39 public: 40 public:
40 BlobURLRequestJob(net::URLRequest* request, 41 BlobURLRequestJob(net::URLRequest* request,
41 net::NetworkDelegate* network_delegate, 42 net::NetworkDelegate* network_delegate,
42 BlobData* blob_data, 43 BlobData* blob_data,
43 fileapi::FileSystemContext* file_system_context, 44 fileapi::FileSystemContext* file_system_context,
44 base::MessageLoopProxy* resolving_message_loop_proxy); 45 base::MessageLoopProxy* resolving_message_loop_proxy);
45 46
46 // net::URLRequestJob methods. 47 // net::URLRequestJob methods.
47 virtual void Start() OVERRIDE; 48 virtual void Start() OVERRIDE;
48 virtual void Kill() OVERRIDE; 49 virtual void Kill() OVERRIDE;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 net::HttpByteRange byte_range_; 122 net::HttpByteRange byte_range_;
122 123
123 scoped_ptr<net::HttpResponseInfo> response_info_; 124 scoped_ptr<net::HttpResponseInfo> response_info_;
124 125
125 DISALLOW_COPY_AND_ASSIGN(BlobURLRequestJob); 126 DISALLOW_COPY_AND_ASSIGN(BlobURLRequestJob);
126 }; 127 };
127 128
128 } // namespace webkit_blob 129 } // namespace webkit_blob
129 130
130 #endif // WEBKIT_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_H_ 131 #endif // WEBKIT_BROWSER_BLOB_BLOB_URL_REQUEST_JOB_H_
OLDNEW
« no previous file with comments | « webkit/browser/blob/blob_storage_host.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