Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / content / browser / appcache / view_appcache_internals_job.h
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_
6 #define CONTENT_BROWSER_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_
7
8 #include "base/basictypes.h"
9
10 namespace net {
11 class NetworkDelegate;
12 class URLRequest;
13 class URLRequestJob;
14 }
15
16 namespace content {
17 class AppCacheServiceImpl;
18
19 class ViewAppCacheInternalsJobFactory {
20  public:
21   static net::URLRequestJob* CreateJobForRequest(
22       net::URLRequest* request,
23       net::NetworkDelegate* network_delegate,
24       AppCacheServiceImpl* service);
25
26  private:
27   DISALLOW_IMPLICIT_CONSTRUCTORS(ViewAppCacheInternalsJobFactory);
28 };
29
30 }  // namespace content
31
32 #endif  // CONTENT_BROWSER_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_