| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_ |
| 6 #define CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_ | 6 #define CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 class GURL; | 9 namespace net { |
| 10 class URLRequest; | 10 class URLRequest; |
| 11 class URLRequestJob; | 11 class URLRequestJob; |
| 12 } // namespace net |
| 13 |
| 14 class GURL; |
| 12 | 15 |
| 13 class ViewHttpCacheJobFactory { | 16 class ViewHttpCacheJobFactory { |
| 14 public: | 17 public: |
| 15 static bool IsSupportedURL(const GURL& url); | 18 static bool IsSupportedURL(const GURL& url); |
| 16 static URLRequestJob* CreateJobForRequest(URLRequest* request); | 19 static net::URLRequestJob* CreateJobForRequest(net::URLRequest* request); |
| 17 }; | 20 }; |
| 18 | 21 |
| 19 #endif // CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_ | 22 #endif // CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_ |
| OLD | NEW |