• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef WEBKIT_BROWSER_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_
6 #define WEBKIT_BROWSER_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_
7 
8 #include "base/basictypes.h"
9 #include "webkit/browser/webkit_storage_browser_export.h"
10 
11 namespace net {
12 class NetworkDelegate;
13 class URLRequest;
14 class URLRequestJob;
15 }
16 
17 namespace appcache {
18 
19 class AppCacheService;
20 
21 class WEBKIT_STORAGE_BROWSER_EXPORT ViewAppCacheInternalsJobFactory {
22  public:
23   static net::URLRequestJob* CreateJobForRequest(
24       net::URLRequest* request,
25       net::NetworkDelegate* network_delegate,
26       AppCacheService* service);
27 
28  private:
29   DISALLOW_IMPLICIT_CONSTRUCTORS(ViewAppCacheInternalsJobFactory);
30 };
31 
32 }  // namespace appcache
33 
34 #endif  // WEBKIT_BROWSER_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_
35