1// Copyright (c) 2010 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 CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_ 6#define CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_ 7#pragma once 8 9namespace net { 10class URLRequest; 11class URLRequestJob; 12} // namespace net 13 14class GURL; 15 16class ViewHttpCacheJobFactory { 17 public: 18 static bool IsSupportedURL(const GURL& url); 19 static net::URLRequestJob* CreateJobForRequest(net::URLRequest* request); 20}; 21 22#endif // CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_ 23