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