| 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_NET_INTERNALS_JOB_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_ |
| 6 #define CHROME_BROWSER_NET_VIEW_NET_INTERNALS_JOB_FACTORY_H_ | 6 #define CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_ |
| 7 | 7 |
| 8 class GURL; | 8 class GURL; |
| 9 class URLRequest; | 9 class URLRequest; |
| 10 class URLRequestJob; | 10 class URLRequestJob; |
| 11 | 11 |
| 12 class ViewNetInternalsJobFactory { | 12 class ViewHttpCacheJobFactory { |
| 13 public: | 13 public: |
| 14 static bool IsSupportedURL(const GURL& url); | 14 static bool IsSupportedURL(const GURL& url); |
| 15 static URLRequestJob* CreateJobForRequest(URLRequest* request); | 15 static URLRequestJob* CreateJobForRequest(URLRequest* request); |
| 16 }; | 16 }; |
| 17 | 17 |
| 18 #endif // CHROME_BROWSER_NET_VIEW_NET_INTERNALS_JOB_FACTORY_H_ | 18 #endif // CHROME_BROWSER_NET_VIEW_HTTP_CACHE_JOB_FACTORY_H_ |
| OLD | NEW |