Separate Simple Backend creation from initialization.
[chromium-blink-merge.git] / webkit / appcache / view_appcache_internals_job.h
blobe51ada16de753199cfd63280ef25da9f1744d9c0
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.
5 #ifndef WEBKIT_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_
6 #define WEBKIT_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_
8 #include "base/basictypes.h"
9 #include "webkit/storage/webkit_storage_export.h"
11 namespace net {
12 class NetworkDelegate;
13 class URLRequest;
14 class URLRequestJob;
17 namespace appcache {
19 class AppCacheService;
21 class WEBKIT_STORAGE_EXPORT ViewAppCacheInternalsJobFactory {
22 public:
23 static net::URLRequestJob* CreateJobForRequest(
24 net::URLRequest* request,
25 net::NetworkDelegate* network_delegate,
26 AppCacheService* service);
28 private:
29 DISALLOW_IMPLICIT_CONSTRUCTORS(ViewAppCacheInternalsJobFactory);
32 } // namespace appcache
34 #endif // WEBKIT_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_