summaryrefslogtreecommitdiffstats
path: root/content/browser/net/view_http_cache_job_factory.h
blob: 45bca5d5a5f64c2b6d4c29b3ebc18b9188935c82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_
#define CONTENT_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_

namespace net {
class NetworkDelegate;
class URLRequest;
class URLRequestJob;
}  // namespace net

class GURL;

namespace content {

class ViewHttpCacheJobFactory {
 public:
  static bool IsSupportedURL(const GURL& url);
  static net::URLRequestJob* CreateJobForRequest(
      net::URLRequest* request, net::NetworkDelegate* network_delegate);
};

}  // namespace content

#endif  // CONTENT_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_