summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/view_http_cache_job_factory.h
blob: 6291902020816cdb1258f10f3abd825dd1bd29ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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

class GURL;
class URLRequest;
class URLRequestJob;

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

#endif  // CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_