summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/view_http_cache_job_factory.h
blob: eb164c58caccd29f2d28377e96d91feb9aaca3ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2010 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 CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_
#define CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_
#pragma once

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

class GURL;

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

#endif  // CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_