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 CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ | 5 #ifndef CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ |
6 #define CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ | 6 #define CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ |
7 | 7 #if 0 |
| 8 // TODO: get this to work with the new context class |
8 namespace net { | 9 namespace net { |
9 class NetworkDelegate; | 10 class NetworkDelegate; |
10 class URLRequest; | 11 class URLRequest; |
11 class URLRequestJob; | 12 class URLRequestJob; |
12 } // namespace net | 13 } // namespace net |
13 namespace webkit_blob { | 14 namespace webkit_blob { |
14 class BlobStorageController; | 15 class BlobStorageController; |
15 } // webkit_blob | 16 } // webkit_blob |
16 | 17 |
17 class GURL; | 18 class GURL; |
18 | 19 |
19 namespace content { | 20 namespace content { |
20 | 21 |
21 class ViewBlobInternalsJobFactory { | 22 class ViewBlobInternalsJobFactory { |
22 public: | 23 public: |
23 static bool IsSupportedURL(const GURL& url); | 24 static bool IsSupportedURL(const GURL& url); |
24 static net::URLRequestJob* CreateJobForRequest( | 25 static net::URLRequestJob* CreateJobForRequest( |
25 net::URLRequest* request, | 26 net::URLRequest* request, |
26 net::NetworkDelegate* network_delegate, | 27 net::NetworkDelegate* network_delegate, |
27 webkit_blob::BlobStorageController* blob_storage_controller); | 28 webkit_blob::BlobStorageController* blob_storage_controller); |
28 }; | 29 }; |
29 | 30 |
30 } // namespace content | 31 } // namespace content |
31 | 32 |
| 33 #endif // 0 |
32 #endif // CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ | 34 #endif // CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ |
OLD | NEW |