| // 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_ |