blob: cc8bd14242f920f8825af4b14a61c5bc65a4f9e9 [file] [log] [blame]
// Copyright (c) 2012 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 CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_
#define CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_
namespace net {
class NetworkDelegate;
class URLRequest;
class URLRequestJob;
}
namespace storage {
class BlobStorageContext;
}
class GURL;
namespace content {
class ViewBlobInternalsJobFactory {
public:
static bool IsSupportedURL(const GURL& url);
static net::URLRequestJob* CreateJobForRequest(
net::URLRequest* request,
net::NetworkDelegate* network_delegate,
storage::BlobStorageContext* blob_storage_context);
};
} // namespace content
#endif // CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_