OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_ | 5 #ifndef WEBKIT_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_ |
6 #define WEBKIT_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_ | 6 #define WEBKIT_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "webkit/appcache/appcache_export.h" | 9 #include "webkit/appcache/appcache_export.h" |
10 | 10 |
11 namespace net { | 11 namespace net { |
| 12 class NetworkDelegate; |
12 class URLRequest; | 13 class URLRequest; |
13 class URLRequestJob; | 14 class URLRequestJob; |
14 } | 15 } |
15 | 16 |
16 namespace appcache { | 17 namespace appcache { |
17 | 18 |
18 class AppCacheService; | 19 class AppCacheService; |
19 | 20 |
20 class APPCACHE_EXPORT ViewAppCacheInternalsJobFactory { | 21 class APPCACHE_EXPORT ViewAppCacheInternalsJobFactory { |
21 public: | 22 public: |
22 static net::URLRequestJob* CreateJobForRequest( | 23 static net::URLRequestJob* CreateJobForRequest( |
23 net::URLRequest* request, AppCacheService* service); | 24 net::URLRequest* request, |
| 25 net::NetworkDelegate* network_delegate, |
| 26 AppCacheService* service); |
24 | 27 |
25 private: | 28 private: |
26 DISALLOW_IMPLICIT_CONSTRUCTORS(ViewAppCacheInternalsJobFactory); | 29 DISALLOW_IMPLICIT_CONSTRUCTORS(ViewAppCacheInternalsJobFactory); |
27 }; | 30 }; |
28 | 31 |
29 } // namespace appcache | 32 } // namespace appcache |
30 | 33 |
31 #endif // WEBKIT_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_ | 34 #endif // WEBKIT_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_ |
OLD | NEW |