OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ | 5 #ifndef CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ |
6 #define CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ | 6 #define CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ |
7 #pragma once | |
8 | 7 |
9 namespace net { | 8 namespace net { |
10 class URLRequest; | 9 class URLRequest; |
11 class URLRequestJob; | 10 class URLRequestJob; |
12 } // namespace net | 11 } // namespace net |
13 namespace webkit_blob { | 12 namespace webkit_blob { |
14 class BlobStorageController; | 13 class BlobStorageController; |
15 } // webkit_blob | 14 } // webkit_blob |
16 | 15 |
17 class GURL; | 16 class GURL; |
18 | 17 |
19 class ViewBlobInternalsJobFactory { | 18 class ViewBlobInternalsJobFactory { |
20 public: | 19 public: |
21 static bool IsSupportedURL(const GURL& url); | 20 static bool IsSupportedURL(const GURL& url); |
22 static net::URLRequestJob* CreateJobForRequest( | 21 static net::URLRequestJob* CreateJobForRequest( |
23 net::URLRequest* request, | 22 net::URLRequest* request, |
24 webkit_blob::BlobStorageController* blob_storage_controller); | 23 webkit_blob::BlobStorageController* blob_storage_controller); |
25 }; | 24 }; |
26 | 25 |
27 #endif // CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ | 26 #endif // CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ |
OLD | NEW |