Roll src/third_party/WebKit f298044:aa8346d (svn 202628:202629)
[chromium-blink-merge.git] / content / browser / net / view_http_cache_job_factory.h
blob45bca5d5a5f64c2b6d4c29b3ebc18b9188935c82
1 // Copyright (c) 2012 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.
5 #ifndef CONTENT_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_
6 #define CONTENT_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_
8 namespace net {
9 class NetworkDelegate;
10 class URLRequest;
11 class URLRequestJob;
12 } // namespace net
14 class GURL;
16 namespace content {
18 class ViewHttpCacheJobFactory {
19 public:
20 static bool IsSupportedURL(const GURL& url);
21 static net::URLRequestJob* CreateJobForRequest(
22 net::URLRequest* request, net::NetworkDelegate* network_delegate);
25 } // namespace content
27 #endif // CONTENT_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_