view_blob_internals_job_factory.h revision 03b57e008b61dfcb1fbad3aea950ae0e001748b0
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.
4
5#ifndef CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_
6#define CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_
7
8namespace net {
9class NetworkDelegate;
10class URLRequest;
11class URLRequestJob;
12}  // namespace net
13namespace storage {
14class BlobStorageContext;
15}  // webkit_blob
16
17class GURL;
18
19namespace content {
20
21class ViewBlobInternalsJobFactory {
22 public:
23  static bool IsSupportedURL(const GURL& url);
24  static net::URLRequestJob* CreateJobForRequest(
25      net::URLRequest* request,
26      net::NetworkDelegate* network_delegate,
27      storage::BlobStorageContext* blob_storage_context);
28};
29
30}  // namespace content
31
32#endif  // CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_
33